diff options
author | robot-piglet <[email protected]> | 2025-03-13 17:13:29 +0300 |
---|---|---|
committer | robot-piglet <[email protected]> | 2025-03-13 17:25:23 +0300 |
commit | 2096b0e1fd226062be688c1d9c0cc1a2f3a633e7 (patch) | |
tree | 252549f660307039bb359e835cfb5325cc3b5b5e /contrib/tools/cython/Cython/Compiler/Main.py | |
parent | f32f9dee5085a51ac5ef9d05db59ca8e12c31921 (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.py | 6 |
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): |