mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
Initial commit
This commit is contained in:
14
venv/Lib/site-packages/multidict/_compat.py
Normal file
14
venv/Lib/site-packages/multidict/_compat.py
Normal file
@@ -0,0 +1,14 @@
|
||||
import os
|
||||
import platform
|
||||
|
||||
NO_EXTENSIONS = bool(os.environ.get("MULTIDICT_NO_EXTENSIONS"))
|
||||
|
||||
PYPY = platform.python_implementation() == "PyPy"
|
||||
|
||||
USE_EXTENSIONS = not NO_EXTENSIONS and not PYPY
|
||||
|
||||
if USE_EXTENSIONS:
|
||||
try:
|
||||
from . import _multidict # type: ignore[attr-defined] # noqa: F401
|
||||
except ImportError:
|
||||
USE_EXTENSIONS = False
|
Reference in New Issue
Block a user