mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Add whitespace after comma
This commit is contained in:
parent
44fe0e4b8d
commit
b94a368ff4
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ def getsourcefile(object):
|
|||
if 'b' in mode and string.lower(filename[-len(suffix):]) == suffix:
|
||||
# Looks like a binary file. We want to only return a text file.
|
||||
return None
|
||||
if os.path.exists(filename) or hasattr(getmodule(object),'__loader__'):
|
||||
if os.path.exists(filename) or hasattr(getmodule(object), '__loader__'):
|
||||
return filename
|
||||
|
||||
def getabsfile(object):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue