summaryrefslogtreecommitdiffstats
path: root/contrib/tools/cython/Cython/Compiler/Main.py
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2025-03-13 17:13:29 +0300
committerrobot-piglet <[email protected]>2025-03-13 17:25:23 +0300
commit2096b0e1fd226062be688c1d9c0cc1a2f3a633e7 (patch)
tree252549f660307039bb359e835cfb5325cc3b5b5e /contrib/tools/cython/Cython/Compiler/Main.py
parentf32f9dee5085a51ac5ef9d05db59ca8e12c31921 (diff)
Intermediate changes
commit_hash:4b64d98e7898a081dd87badffe9fcb56bc6f38f8
Diffstat (limited to 'contrib/tools/cython/Cython/Compiler/Main.py')
-rw-r--r--contrib/tools/cython/Cython/Compiler/Main.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/contrib/tools/cython/Cython/Compiler/Main.py b/contrib/tools/cython/Cython/Compiler/Main.py
index 5ec52f6520f..3f03b66ac9e 100644
--- a/contrib/tools/cython/Cython/Compiler/Main.py
+++ b/contrib/tools/cython/Cython/Compiler/Main.py
@@ -822,12 +822,6 @@ def search_include_directories(dirs, qualified_name, suffix, pos, include=False)
module_filename = module_name + suffix
package_filename = "__init__" + suffix
- # Fix from https://github.com/cython/cython/pull/2738
- if pos:
- path = os.path.join(os.path.dirname(pos[0].filename), module_filename)
- if os.path.exists(path):
- return path
-
for dirname in dirs:
path = os.path.join(dirname, dotted_filename)
if os.path.exists(path):