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
0eadaac7
Commit
0eadaac7
authored
Apr 24, 2003
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whitespace normalization.
parent
0822ff7c
Changes
29
Show whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
98 additions
and
115 deletions
+98
-115
Lib/DocXMLRPCServer.py
Lib/DocXMLRPCServer.py
+15
-15
Lib/_strptime.py
Lib/_strptime.py
+2
-3
Lib/bsddb/__init__.py
Lib/bsddb/__init__.py
+1
-1
Lib/bsddb/dbobj.py
Lib/bsddb/dbobj.py
+0
-1
Lib/bsddb/dbshelve.py
Lib/bsddb/dbshelve.py
+0
-3
Lib/csv/__init__.py
Lib/csv/__init__.py
+0
-1
Lib/csv/csv.py
Lib/csv/csv.py
+2
-2
Lib/csv/util/sniffer.py
Lib/csv/util/sniffer.py
+13
-16
Lib/encodings/__init__.py
Lib/encodings/__init__.py
+0
-1
Lib/encodings/idna.py
Lib/encodings/idna.py
+4
-4
Lib/encodings/punycode.py
Lib/encodings/punycode.py
+5
-5
Lib/markupbase.py
Lib/markupbase.py
+4
-4
Lib/optparse.py
Lib/optparse.py
+0
-1
Lib/platform.py
Lib/platform.py
+17
-17
Lib/sgmllib.py
Lib/sgmllib.py
+4
-4
Lib/shelve.py
Lib/shelve.py
+1
-1
Lib/stringprep.py
Lib/stringprep.py
+0
-1
Lib/test/string_tests.py
Lib/test/string_tests.py
+0
-1
Lib/test/test_capi.py
Lib/test/test_capi.py
+2
-2
Lib/test/test_codecs.py
Lib/test/test_codecs.py
+2
-2
Lib/test/test_csv.py
Lib/test/test_csv.py
+12
-12
Lib/test/test_getargs2.py
Lib/test/test_getargs2.py
+1
-1
Lib/test/test_gettext.py
Lib/test/test_gettext.py
+1
-1
Lib/test/test_macfs.py
Lib/test/test_macfs.py
+1
-1
Lib/test/test_pwd.py
Lib/test/test_pwd.py
+0
-1
Lib/test/test_scriptpackages.py
Lib/test/test_scriptpackages.py
+9
-9
Lib/test/test_shlex.py
Lib/test/test_shlex.py
+2
-2
Lib/test/test_signal.py
Lib/test/test_signal.py
+0
-1
Lib/test/test_stringprep.py
Lib/test/test_stringprep.py
+0
-2
No files found.
Lib/DocXMLRPCServer.py
View file @
0eadaac7
Lib/_strptime.py
View file @
0eadaac7
...
@@ -528,4 +528,3 @@ def _insensitiveindex(lst, findme):
...
@@ -528,4 +528,3 @@ def _insensitiveindex(lst, findme):
return
key
return
key
else
:
else
:
raise
ValueError
(
"value not in list"
)
raise
ValueError
(
"value not in list"
)
Lib/bsddb/__init__.py
View file @
0eadaac7
Lib/bsddb/dbobj.py
View file @
0eadaac7
...
@@ -192,4 +192,3 @@ class DB(DictMixin):
...
@@ -192,4 +192,3 @@ class DB(DictMixin):
if
db
.
version
()
>=
(
4
,
1
):
if
db
.
version
()
>=
(
4
,
1
):
def
set_encrypt
(
self
,
*
args
,
**
kwargs
):
def
set_encrypt
(
self
,
*
args
,
**
kwargs
):
return
apply
(
self
.
_cobj
.
set_encrypt
,
args
,
kwargs
)
return
apply
(
self
.
_cobj
.
set_encrypt
,
args
,
kwargs
)
Lib/bsddb/dbshelve.py
View file @
0eadaac7
...
@@ -296,6 +296,3 @@ class DBShelfCursor:
...
@@ -296,6 +296,3 @@ class DBShelfCursor:
#---------------------------------------------------------------------------
#---------------------------------------------------------------------------
Lib/csv/__init__.py
View file @
0eadaac7
from
csv
import
*
from
csv
import
*
Lib/csv/csv.py
View file @
0eadaac7
Lib/csv/util/sniffer.py
View file @
0eadaac7
...
@@ -284,6 +284,3 @@ class Sniffer:
...
@@ -284,6 +284,3 @@ class Sniffer:
hasHeader
-=
1
hasHeader
-=
1
return
hasHeader
>
0
return
hasHeader
>
0
Lib/encodings/__init__.py
View file @
0eadaac7
...
@@ -120,4 +120,3 @@ def search_function(encoding):
...
@@ -120,4 +120,3 @@ def search_function(encoding):
# Register the search_function in the Python codec registry
# Register the search_function in the Python codec registry
codecs
.
register
(
search_function
)
codecs
.
register
(
search_function
)
Lib/encodings/idna.py
View file @
0eadaac7
Lib/encodings/punycode.py
View file @
0eadaac7
Lib/markupbase.py
View file @
0eadaac7
Lib/optparse.py
View file @
0eadaac7
...
@@ -1380,4 +1380,3 @@ def _match_abbrev (s, wordmap):
...
@@ -1380,4 +1380,3 @@ def _match_abbrev (s, wordmap):
# which will become a factory function when there are many Option
# which will become a factory function when there are many Option
# classes.
# classes.
make_option
=
Option
make_option
=
Option
Lib/platform.py
View file @
0eadaac7
Lib/sgmllib.py
View file @
0eadaac7
Lib/shelve.py
View file @
0eadaac7
Lib/stringprep.py
View file @
0eadaac7
...
@@ -270,4 +270,3 @@ def in_table_d1(code):
...
@@ -270,4 +270,3 @@ def in_table_d1(code):
def
in_table_d2
(
code
):
def
in_table_d2
(
code
):
return
unicodedata
.
bidirectional
(
code
)
==
"L"
return
unicodedata
.
bidirectional
(
code
)
==
"L"
Lib/test/string_tests.py
View file @
0eadaac7
...
@@ -631,4 +631,3 @@ class MixinStrUserStringTest:
...
@@ -631,4 +631,3 @@ class MixinStrUserStringTest:
self
.
checkraises
(
TypeError
,
'xyz'
,
'decode'
,
42
)
self
.
checkraises
(
TypeError
,
'xyz'
,
'decode'
,
42
)
self
.
checkraises
(
TypeError
,
'xyz'
,
'encode'
,
42
)
self
.
checkraises
(
TypeError
,
'xyz'
,
'encode'
,
42
)
Lib/test/test_capi.py
View file @
0eadaac7
Lib/test/test_codecs.py
View file @
0eadaac7
Lib/test/test_csv.py
View file @
0eadaac7
Lib/test/test_getargs2.py
View file @
0eadaac7
Lib/test/test_gettext.py
View file @
0eadaac7
Lib/test/test_macfs.py
View file @
0eadaac7
Lib/test/test_pwd.py
View file @
0eadaac7
...
@@ -92,4 +92,3 @@ def test_main():
...
@@ -92,4 +92,3 @@ def test_main():
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
test_main
()
test_main
()
Lib/test/test_scriptpackages.py
View file @
0eadaac7
Lib/test/test_shlex.py
View file @
0eadaac7
Lib/test/test_signal.py
View file @
0eadaac7
...
@@ -63,4 +63,3 @@ try:
...
@@ -63,4 +63,3 @@ try:
except
KeyboardInterrupt
:
except
KeyboardInterrupt
:
if
verbose
:
if
verbose
:
print
"KeyboardInterrupt (assume the alarm() went off)"
print
"KeyboardInterrupt (assume the alarm() went off)"
Lib/test/test_stringprep.py
View file @
0eadaac7
...
@@ -86,5 +86,3 @@ verify(not in_table_d2(u"\u0040"))
...
@@ -86,5 +86,3 @@ verify(not in_table_d2(u"\u0040"))
# h = sha.sha()
# h = sha.sha()
# h.update(data)
# h.update(data)
# print p,h.hexdigest()
# print p,h.hexdigest()
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