summaryrefslogtreecommitdiff
path: root/Lib/tabnanny.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-28 16:01:13 +0000
committerGuido van Rossum <guido@python.org>1998-04-28 16:01:13 +0000
commit53117ae82aaa7c274ff0d26e7466e6d5ee4e8fb5 (patch)
tree90155f8367d760b520d5f1cedb70db3e809b24c8 /Lib/tabnanny.py
parentb86ba124eab06ab9b132647bee4c00c13269e185 (diff)
downloadcpython-git-53117ae82aaa7c274ff0d26e7466e6d5ee4e8fb5.tar.gz
typo in error message (fname vs. file).
(Jack)
Diffstat (limited to 'Lib/tabnanny.py')
-rwxr-xr-xLib/tabnanny.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tabnanny.py b/Lib/tabnanny.py
index a6cb94b0ce..6dca8af487 100755
--- a/Lib/tabnanny.py
+++ b/Lib/tabnanny.py
@@ -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: