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
d6e7e73f
Commit
d6e7e73f
authored
Feb 26, 2006
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whitespace normalization.
parent
4b92a825
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
Lib/copy.py
Lib/copy.py
+1
-1
Misc/Vim/syntax_test.py
Misc/Vim/syntax_test.py
+1
-1
Misc/Vim/vim_syntax.py
Misc/Vim/vim_syntax.py
+1
-1
No files found.
Lib/copy.py
View file @
d6e7e73f
...
...
@@ -102,7 +102,7 @@ def _copy_immutable(x):
for
t
in
(
type
(
None
),
int
,
long
,
float
,
bool
,
str
,
tuple
,
frozenset
,
type
,
xrange
,
types
.
ClassType
,
types
.
BuiltinFunctionType
,
types
.
FunctionType
):
types
.
FunctionType
):
d
[
t
]
=
_copy_immutable
for
name
in
(
"ComplexType"
,
"UnicodeType"
,
"CodeType"
):
t
=
getattr
(
types
,
name
,
None
)
...
...
Misc/Vim/syntax_test.py
View file @
d6e7e73f
...
...
@@ -33,4 +33,4 @@ ur'unicode raw'
()
# Uncoloured
all
GeneratorExit
trailing_whitespace
=
path
trailing_whitespace
=
path
Misc/Vim/vim_syntax.py
View file @
d6e7e73f
...
...
@@ -128,7 +128,7 @@ def fill_stmt(iterable, fill_len):
"""
Yield
a
string
that
fills
at
most
fill_len
characters
with
strings
returned
by
'iterable'
and
separated
by
a
space
"""
# Deal with trailing char to handle ' '.join() calculation
fill_len += 1
fill_len += 1
overflow = None
it = iter(iterable)
while True:
...
...
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