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
e4418609
Commit
e4418609
authored
Feb 16, 2002
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whitespace normalization.
parent
20882dd1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
Lib/compiler/pycodegen.py
Lib/compiler/pycodegen.py
+1
-1
Lib/dumbdbm.py
Lib/dumbdbm.py
+1
-1
Lib/ftplib.py
Lib/ftplib.py
+7
-7
Lib/test/test_StringIO.py
Lib/test/test_StringIO.py
+1
-1
No files found.
Lib/compiler/pycodegen.py
View file @
e4418609
...
...
@@ -1187,7 +1187,7 @@ class InteractiveCodeGenerator(NestedScopeMixin, CodeGenerator):
def
get_module
(
self
):
return
self
def
visitDiscard
(
self
,
node
):
# XXX Discard means it's an expression. Perhaps this is a bad
# name.
...
...
Lib/dumbdbm.py
View file @
e4418609
...
...
@@ -150,7 +150,7 @@ class _Database:
def
__del__
(
self
):
if
self
.
_index
is
not
None
:
self
.
_commit
()
def
open
(
file
,
flag
=
None
,
mode
=
0666
):
...
...
Lib/ftplib.py
View file @
e4418609
...
...
@@ -351,13 +351,13 @@ class FTP:
if
not
passwd
:
passwd
=
''
if
not
acct
:
acct
=
''
if
user
==
'anonymous'
and
passwd
in
(
''
,
'-'
):
# If there is no anonymous ftp password specified
# then we'll just use anonymous@
# We don't send any other thing because:
# - We want to remain anonymous
# - We want to stop SPAM
# - We don't want to let ftp sites to discriminate by the user,
# host or country.
# If there is no anonymous ftp password specified
# then we'll just use anonymous@
# We don't send any other thing because:
# - We want to remain anonymous
# - We want to stop SPAM
# - We don't want to let ftp sites to discriminate by the user,
# host or country.
passwd
=
passwd
+
'anonymous@'
resp
=
self
.
sendcmd
(
'USER '
+
user
)
if
resp
[
0
]
==
'3'
:
resp
=
self
.
sendcmd
(
'PASS '
+
passwd
)
...
...
Lib/test/test_StringIO.py
View file @
e4418609
...
...
@@ -76,7 +76,7 @@ class TestStringIO(TestGenericStringIO):
# The StringIO module also supports concatenating Unicode
# snippets to larger Unicode strings. This is tested by this
# method. Note that cStringIO does not support this extension.
f
=
self
.
MODULE
.
StringIO
()
f
.
write
(
self
.
_line
[:
6
])
f
.
seek
(
3
)
...
...
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