Skip to content

Commit 8cdd19e

Browse files
committed
Add missing function declaration for smoke testing
1 parent 52648cd commit 8cdd19e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/venv/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ def setup_python(self, context):
414414

415415
if os.name == 'posix' or (os.name == "nt" and 'mingw' in sys.version.lower()):
416416
# copy from python/pythonw so the venvlauncher magic in symlink_or_copy triggers
417+
copier = self.symlink_or_copy
417418
copier(os.path.join(dirname, 'python.exe'), os.path.join(binpath, 'python3.exe'))
418419
copier(os.path.join(dirname, 'python.exe'), os.path.join(binpath, 'python%d.%d.exe' % sys.version_info[:2]))
419420
copier(os.path.join(dirname, 'pythonw.exe'), os.path.join(binpath, 'python3w.exe'))

0 commit comments

Comments
 (0)