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
51be6e0a
Commit
51be6e0a
authored
Aug 16, 2011
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Plain Diff
merge heads
parents
ae6ae025
d6fe58d7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
6 deletions
+9
-6
Doc/library/collections.abc.rst
Doc/library/collections.abc.rst
+3
-2
Doc/library/collections.rst
Doc/library/collections.rst
+1
-1
Doc/license.rst
Doc/license.rst
+1
-1
Lib/shlex.py
Lib/shlex.py
+1
-1
Makefile.pre.in
Makefile.pre.in
+1
-1
Tools/scripts/run_tests.py
Tools/scripts/run_tests.py
+2
-0
No files found.
Doc/library/collections.abc.rst
View file @
51be6e0a
...
...
@@ -6,6 +6,9 @@
.. moduleauthor:: Raymond Hettinger <python at rcn.com>
.. sectionauthor:: Raymond Hettinger <python at rcn.com>
.. versionadded:: 3.3
Formerly, this module was part of the :mod:`collections` module.
.. testsetup:: *
from collections import *
...
...
@@ -20,8 +23,6 @@ This module provides :term:`abstract base classes <abstract base class>` that
can be used to test whether a class provides a particular interface; for
example, whether it is hashable or whether it is a mapping.
.. versionchanged:: 3.3
Formerly, this module was part of the :mod:`collections` module.
.. _collections-abstract-base-classes:
...
...
Doc/library/collections.rst
View file @
51be6e0a
...
...
@@ -72,7 +72,7 @@ The class can be used to simulate nested scopes and is useful in templating.
A user updateable list of mappings. The list is ordered from
first-searched to last-searched. It is the only stored state and can
modified to change which mappings are searched. The list should
be
modified to change which mappings are searched. The list should
always contain at least one mapping.
.. method:: new_child()
...
...
Doc/license.rst
View file @
51be6e0a
...
...
@@ -875,7 +875,7 @@ zlib
----
The :mod:`zlib` extension is built using an included copy of the zlib
sources
unless
the zlib version found on the system is too old to be
sources
if
the zlib version found on the system is too old to be
used for the build::
Copyright (C) 1995-2011 Jean-loup Gailly and Mark Adler
...
...
Lib/shlex.py
View file @
51be6e0a
...
...
@@ -276,7 +276,7 @@ def split(s, comments=False, posix=True):
return
list
(
lex
)
_find_unsafe
=
re
.
compile
(
r'[^\
w@%
\-\
+=:,
\./
]'
,
re
.
ASCII
).
search
_find_unsafe
=
re
.
compile
(
r'[^\
w@%
+=:,./-
]
', re.ASCII).search
def quote(s):
"""Return a shell-escaped version of the string *s*."""
...
...
Makefile.pre.in
View file @
51be6e0a
...
...
@@ -1359,7 +1359,7 @@ funny:
-o
-name
.hgignore
\
-o
-name
.bzrignore
\
-o
-name
MANIFEST
\
-print
-
o
-
print
# Perform some verification checks on any modified files.
patchcheck
:
...
...
Tools/scripts/run_tests.py
View file @
51be6e0a
...
...
@@ -32,6 +32,8 @@ def main(regrtest_args):
'-r'
,
# Randomize test order
'-w'
,
# Re-run failed tests in verbose mode
])
if
sys
.
platform
==
'win32'
:
args
.
append
(
'-n'
)
# Silence alerts under Windows
if
not
any
(
is_multiprocess_flag
(
arg
)
for
arg
in
regrtest_args
):
args
.
extend
([
'-j'
,
'0'
])
# Use all CPU cores
if
not
any
(
is_resource_use_flag
(
arg
)
for
arg
in
regrtest_args
):
...
...
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