Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
bc9b14f3
Commit
bc9b14f3
authored
Apr 28, 1998
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo in error message (fname vs. file).
(Jack)
parent
a7086455
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
Lib/tabnanny.py
Lib/tabnanny.py
+1
-1
Tools/idle/tabnanny.py
Tools/idle/tabnanny.py
+1
-1
Tools/scripts/tabnanny.py
Tools/scripts/tabnanny.py
+1
-1
No files found.
Lib/tabnanny.py
View file @
bc9b14f3
...
@@ -66,7 +66,7 @@ def check(file):
...
@@ -66,7 +66,7 @@ def check(file):
tokenize
.
tokenize
(
f
.
readline
,
tokeneater
)
tokenize
.
tokenize
(
f
.
readline
,
tokeneater
)
except
tokenize
.
TokenError
,
msg
:
except
tokenize
.
TokenError
,
msg
:
print
"%s: Token Error: %s"
%
(
`f
nam
e`
,
str
(
msg
))
print
"%s: Token Error: %s"
%
(
`f
il
e`
,
str
(
msg
))
return
return
except
NannyNag
,
nag
:
except
NannyNag
,
nag
:
...
...
Tools/idle/tabnanny.py
View file @
bc9b14f3
...
@@ -66,7 +66,7 @@ def check(file):
...
@@ -66,7 +66,7 @@ def check(file):
tokenize
.
tokenize
(
f
.
readline
,
tokeneater
)
tokenize
.
tokenize
(
f
.
readline
,
tokeneater
)
except
tokenize
.
TokenError
,
msg
:
except
tokenize
.
TokenError
,
msg
:
print
"%s: Token Error: %s"
%
(
`f
nam
e`
,
str
(
msg
))
print
"%s: Token Error: %s"
%
(
`f
il
e`
,
str
(
msg
))
return
return
except
NannyNag
,
nag
:
except
NannyNag
,
nag
:
...
...
Tools/scripts/tabnanny.py
View file @
bc9b14f3
...
@@ -66,7 +66,7 @@ def check(file):
...
@@ -66,7 +66,7 @@ def check(file):
tokenize
.
tokenize
(
f
.
readline
,
tokeneater
)
tokenize
.
tokenize
(
f
.
readline
,
tokeneater
)
except
tokenize
.
TokenError
,
msg
:
except
tokenize
.
TokenError
,
msg
:
print
"%s: Token Error: %s"
%
(
`f
nam
e`
,
str
(
msg
))
print
"%s: Token Error: %s"
%
(
`f
il
e`
,
str
(
msg
))
return
return
except
NannyNag
,
nag
:
except
NannyNag
,
nag
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment