mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
[issue19152] Revert 832579dbafd6.
This commit is contained in:
parent
48b42ecd0f
commit
5c4b4c530f
5 changed files with 193 additions and 224 deletions
|
@ -1153,11 +1153,6 @@ class ExtensionFileLoader:
|
|||
"""Return None as extension modules have no source code."""
|
||||
return None
|
||||
|
||||
@_check_name
|
||||
def get_filename(self, fullname):
|
||||
"""Return the path to the source file as found by the finder."""
|
||||
return self.path
|
||||
|
||||
|
||||
class _NamespacePath:
|
||||
"""Represents a namespace package's path. It uses the module name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue