typo in error message (fname vs. file).

(Jack)
This commit is contained in:
Guido van Rossum 1998-04-28 16:01:13 +00:00
parent b86ba124ea
commit 53117ae82a
3 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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: