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
88ca467c
Commit
88ca467c
authored
Mar 10, 2006
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whitespace normalization.
parent
922dd7d4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
Lib/site.py
Lib/site.py
+1
-1
Lib/test/test_normalization.py
Lib/test/test_normalization.py
+2
-2
Tools/unicode/makeunicodedata.py
Tools/unicode/makeunicodedata.py
+1
-1
No files found.
Lib/site.py
View file @
88ca467c
...
...
@@ -232,7 +232,7 @@ def setquit():
eof
=
'Ctrl-Z plus Return'
else
:
eof
=
'Ctrl-D (i.e. EOF)'
class
Quitter
(
object
):
def
__init__
(
self
,
name
):
self
.
name
=
name
...
...
Lib/test/test_normalization.py
View file @
88ca467c
...
...
@@ -46,10 +46,10 @@ def test_main():
try
:
c1
,
c2
,
c3
,
c4
,
c5
=
[
unistr
(
x
)
for
x
in
line
.
split
(
';'
)[:
-
1
]]
except
RangeError
:
# Skip unsupported characters;
# Skip unsupported characters;
# try atleast adding c1 if we are in part1
if
part
==
"@Part1"
:
try
:
try
:
c1
=
unistr
(
line
.
split
(
';'
)[
0
])
except
RangeError
:
pass
...
...
Tools/unicode/makeunicodedata.py
View file @
88ca467c
...
...
@@ -666,7 +666,7 @@ def merge_old_version(version, new, old):
new
.
changed
.
append
((
version
,
zip
(
bidir_changes
,
category_changes
,
decimal_changes
,
numeric_changes
),
normalization_changes
))
# --------------------------------------------------------------------
# the following support code is taken from the unidb utilities
...
...
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