aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/setuptools/py3/_distutils_hack
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2025-01-17 19:30:56 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2025-01-17 20:31:21 +0300
commitf4f4ef7f7ee5c0dbaf18a9cbcfd8161888ada142 (patch)
tree22bb2605d8e040c1ec808f695c9deada7293fae7 /contrib/python/setuptools/py3/_distutils_hack
parentded0c6a5d340d85ccd15d96999e726133527091a (diff)
downloadydb-f4f4ef7f7ee5c0dbaf18a9cbcfd8161888ada142.tar.gz
Intermediate changes
commit_hash:4bbc3602d0ac6ac79bb8e6d7b176dded9cefc306
Diffstat (limited to 'contrib/python/setuptools/py3/_distutils_hack')
-rw-r--r--contrib/python/setuptools/py3/_distutils_hack/__init__.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/contrib/python/setuptools/py3/_distutils_hack/__init__.py b/contrib/python/setuptools/py3/_distutils_hack/__init__.py
index 35ab5cad49..30ac3a7403 100644
--- a/contrib/python/setuptools/py3/_distutils_hack/__init__.py
+++ b/contrib/python/setuptools/py3/_distutils_hack/__init__.py
@@ -1,7 +1,6 @@
# don't import any costly modules
-import sys
import os
-
+import sys
report_url = (
"https://github.com/pypa/setuptools/issues/new?"
@@ -218,10 +217,10 @@ def add_shim():
class shim:
- def __enter__(self):
+ def __enter__(self) -> None:
insert_shim()
- def __exit__(self, exc, value, tb):
+ def __exit__(self, exc: object, value: object, tb: object) -> None:
_remove_shim()