mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Fix code I unwittingly broke in b0e2d6592a1f (#14038)
This commit is contained in:
parent
e8c5fdba30
commit
2180ee641c
1 changed files with 1 additions and 1 deletions
|
|
@ -342,7 +342,7 @@ def _get_xxmodule_path():
|
|||
srcdir = sysconfig.get_config_var('projectbase')
|
||||
path = os.path.join(os.getcwd(), srcdir, 'Modules', 'xxmodule.c')
|
||||
else:
|
||||
os.path.join(os.path.dirname(__file__), 'xxmodule.c')
|
||||
path = os.path.join(os.path.dirname(__file__), 'xxmodule.c')
|
||||
if os.path.exists(path):
|
||||
return path
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue