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
1d8dba4e
Commit
1d8dba4e
authored
Oct 30, 2001
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whitespace normalization.
parent
3c040229
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
Lib/imaplib.py
Lib/imaplib.py
+1
-1
Lib/os.py
Lib/os.py
+2
-2
Lib/test/regrtest.py
Lib/test/regrtest.py
+1
-1
Lib/test/test_mimetypes.py
Lib/test/test_mimetypes.py
+1
-1
No files found.
Lib/imaplib.py
View file @
1d8dba4e
...
...
@@ -226,7 +226,7 @@ class IMAP4:
while bytes > 0:
sent = self.sock.send(data)
if sent == bytes:
break
# avoid copy
break
# avoid copy
data = data[sent:]
bytes = bytes - sent
...
...
Lib/os.py
View file @
1d8dba4e
...
...
@@ -362,7 +362,7 @@ else:
import
UserDict
# Fake unsetenv() for Windows
# not sure about os2 and dos here but
# not sure about os2 and dos here but
# I'm guessing they are the same.
if
name
in
(
'os2'
,
'nt'
,
'dos'
):
...
...
@@ -421,7 +421,7 @@ else:
def
__delitem__
(
self
,
key
):
unsetenv
(
key
)
del
self
.
data
[
key
]
environ
=
_Environ
(
environ
)
...
...
Lib/test/regrtest.py
View file @
1d8dba4e
...
...
@@ -38,7 +38,7 @@ only the following are defined:
curses - Tests that use curses and will modify the terminal's
state and output modes.
largefile - It is okay to run some test that may create huge files. These
tests can take a long time and may consume >2GB of disk space
temporarily.
...
...
Lib/test/test_mimetypes.py
View file @
1d8dba4e
...
...
@@ -39,7 +39,7 @@ class MimeTypesTestCase(unittest.TestCase):
".pyunit"
)
def
test_non_standard_types
(
self
):
# First try strict
# First try strict
self
.
assertEqual
(
self
.
db
.
guess_type
(
'foo.xul'
,
strict
=
1
),
(
None
,
None
))
self
.
assertEqual
(
self
.
db
.
guess_extension
(
'image/jpg'
,
strict
=
1
),
...
...
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