Merge branch 'master' into python-3.3-to-3.5

This commit is contained in:
rocky
2024-07-13 17:45:15 -04:00

View File

@@ -0,0 +1,10 @@
# Adapted 3.5 from _bootstrap_external.py
def spec_from_file_location(loader, location):
if loader:
for _ in __file__:
if location:
break
else:
return None