OXIESEC PANEL
- Current Dir:
/
/
usr
/
lib
/
python3
/
dist-packages
/
keyring
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/17/2025 09:32:20 AM
rwxr-xr-x
📄
__init__.py
489 bytes
01/07/2018 08:43:04 PM
rw-r--r--
📄
__main__.py
70 bytes
01/07/2018 08:43:04 PM
rw-r--r--
📁
__pycache__
-
05/09/2024 06:58:02 AM
rwxr-xr-x
📄
backend.py
5.29 KB
01/07/2018 08:43:04 PM
rw-r--r--
📁
backends
-
05/09/2024 06:58:01 AM
rwxr-xr-x
📄
cli.py
3.56 KB
01/07/2018 08:43:04 PM
rw-r--r--
📄
core.py
3.9 KB
01/07/2018 08:43:04 PM
rw-r--r--
📄
credentials.py
1.33 KB
01/07/2018 08:43:04 PM
rw-r--r--
📄
devpi_client.py
199 bytes
01/07/2018 08:43:04 PM
rw-r--r--
📄
errors.py
1.25 KB
01/07/2018 08:43:04 PM
rw-r--r--
📄
getpassbackend.py
312 bytes
01/07/2018 08:43:04 PM
rw-r--r--
📄
http.py
1.23 KB
01/07/2018 08:43:04 PM
rw-r--r--
📄
py27compat.py
1.04 KB
01/07/2018 08:43:04 PM
rw-r--r--
📄
py33compat.py
660 bytes
01/07/2018 08:43:04 PM
rw-r--r--
📁
tests
-
05/09/2024 06:58:01 AM
rwxr-xr-x
📁
util
-
05/09/2024 06:58:01 AM
rwxr-xr-x
Editing: py33compat.py
Close
""" Compatibility support for Python 3.3. Remove when Python 3.3 support is no longer required. """ from .py27compat import builtins def max(*args, **kwargs): """ Add support for 'default' kwarg. >>> max([], default='res') 'res' >>> max(default='res') Traceback (most recent call last): ... TypeError: ... >>> max('a', 'b', default='other') 'b' """ missing = object() default = kwargs.pop('default', missing) try: return builtins.max(*args, **kwargs) except ValueError as exc: if 'empty sequence' in str(exc) and default is not missing: return default raise