mirror of
https://github.com/python/cpython.git
synced 2025-07-19 17:25:54 +00:00
typo in error message (fname vs. file).
(Jack)
This commit is contained in:
parent
b86ba124ea
commit
53117ae82a
3 changed files with 3 additions and 3 deletions
|
@ -66,7 +66,7 @@ def check(file):
|
|||
tokenize.tokenize(f.readline, tokeneater)
|
||||
|
||||
except tokenize.TokenError, msg:
|
||||
print "%s: Token Error: %s" % (`fname`, str(msg))
|
||||
print "%s: Token Error: %s" % (`file`, str(msg))
|
||||
return
|
||||
|
||||
except NannyNag, nag:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue