diff options
author | Guido van Rossum <guido@python.org> | 1998-04-28 16:01:13 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-04-28 16:01:13 (GMT) |
commit | 53117ae82aaa7c274ff0d26e7466e6d5ee4e8fb5 (patch) | |
tree | 90155f8367d760b520d5f1cedb70db3e809b24c8 | |
parent | b86ba124eab06ab9b132647bee4c00c13269e185 (diff) | |
download | cpython-53117ae82aaa7c274ff0d26e7466e6d5ee4e8fb5.zip cpython-53117ae82aaa7c274ff0d26e7466e6d5ee4e8fb5.tar.gz cpython-53117ae82aaa7c274ff0d26e7466e6d5ee4e8fb5.tar.bz2 |
typo in error message (fname vs. file).
(Jack)
-rwxr-xr-x | Lib/tabnanny.py | 2 | ||||
-rwxr-xr-x | Tools/idle/tabnanny.py | 2 | ||||
-rwxr-xr-x | Tools/scripts/tabnanny.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Lib/tabnanny.py b/Lib/tabnanny.py index a6cb94b..6dca8af 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: diff --git a/Tools/idle/tabnanny.py b/Tools/idle/tabnanny.py index a6cb94b..6dca8af 100755 --- a/Tools/idle/tabnanny.py +++ b/Tools/idle/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: diff --git a/Tools/scripts/tabnanny.py b/Tools/scripts/tabnanny.py index a6cb94b..6dca8af 100755 --- a/Tools/scripts/tabnanny.py +++ b/Tools/scripts/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: |