PATH:
opt
/
alt
/
python311
/
lib
/
python3.11
/
site-packages
/
setuptools
/
_distutils
import functools # from jaraco.functools 3.5 def pass_none(func): """ Wrap func so it's not called if its first param is None >>> print_text = pass_none(print) >>> print_text('text') text >>> print_text(None) """ @functools.wraps(func) def wrapper(param, *args, **kwargs): if param is not None: return func(param, *args, **kwargs) return wrapper
[+]
__pycache__
[-] version.py
[edit]
[-] util.py
[edit]
[-] sysconfig.py
[edit]
[-] dir_util.py
[edit]
[-] text_file.py
[edit]
[-] fancy_getopt.py
[edit]
[-] py38compat.py
[edit]
[-] _macos_compat.py
[edit]
[-] config.py
[edit]
[-] _functools.py
[edit]
[-] _msvccompiler.py
[edit]
[+]
command
[-] log.py
[edit]
[-] debug.py
[edit]
[-] __init__.py
[edit]
[-] dep_util.py
[edit]
[-] msvccompiler.py
[edit]
[-] filelist.py
[edit]
[-] bcppcompiler.py
[edit]
[-] extension.py
[edit]
[-] py39compat.py
[edit]
[-] msvc9compiler.py
[edit]
[-] versionpredicate.py
[edit]
[+]
..
[-] file_util.py
[edit]
[-] cmd.py
[edit]
[-] archive_util.py
[edit]
[-] _log.py
[edit]
[-] _collections.py
[edit]
[-] ccompiler.py
[edit]
[-] dist.py
[edit]
[-] cygwinccompiler.py
[edit]
[-] core.py
[edit]
[-] unixccompiler.py
[edit]
[-] spawn.py
[edit]
[-] errors.py
[edit]