From 8cdd19eb9868327e0645ef0613723cdc5c5e843f Mon Sep 17 00:00:00 2001
From: Alexey Pavlov <alexpux@gmail.com>
Date: Thu, 28 Aug 2025 14:01:16 +0300
Subject: [PATCH 122/N] Add missing function declaration for smoke testing

---
 Lib/venv/__init__.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Lib/venv/__init__.py b/Lib/venv/__init__.py
index b2ec522..0c28ea0 100644
--- a/Lib/venv/__init__.py
+++ b/Lib/venv/__init__.py
@@ -414,6 +414,7 @@ class EnvBuilder:
 
             if os.name == 'posix' or (os.name == "nt" and 'mingw' in sys.version.lower()):
                 # copy from python/pythonw so the venvlauncher magic in symlink_or_copy triggers
+                copier = self.symlink_or_copy
                 copier(os.path.join(dirname, 'python.exe'), os.path.join(binpath, 'python3.exe'))
                 copier(os.path.join(dirname, 'python.exe'), os.path.join(binpath, 'python%d.%d.exe' % sys.version_info[:2]))
                 copier(os.path.join(dirname, 'pythonw.exe'), os.path.join(binpath, 'python3w.exe'))
