Skip to content

Commit 5d6120a

Browse files
committed
Move Python 3.11 compatibility into compat module.
1 parent c4156a9 commit 5d6120a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setuptools/command/easy_install.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
DEVELOP_DIST,
7575
)
7676
import pkg_resources
77-
from .. import py312compat
77+
from ..compat import py311
7878
from .._path import ensure_directory
7979
from ..extern.jaraco.text import yield_lines
8080

@@ -2329,7 +2329,7 @@ def load_launcher_manifest(name):
23292329

23302330

23312331
def _rmtree(path, ignore_errors=False, onexc=auto_chmod):
2332-
return py312compat.shutil_rmtree(path, ignore_errors, onexc)
2332+
return py311.shutil_rmtree(path, ignore_errors, onexc)
23332333

23342334

23352335
def current_umask():
File renamed without changes.

0 commit comments

Comments
 (0)