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
2079cc67
Commit
2079cc67
authored
Aug 17, 2013
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#18466: fix more typos. Patch by Févry Thibault.
parent
b7264984
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
12 additions
and
12 deletions
+12
-12
Include/datetime.h
Include/datetime.h
+1
-1
Lib/collections/__init__.py
Lib/collections/__init__.py
+1
-1
Lib/test/datetimetester.py
Lib/test/datetimetester.py
+1
-1
Lib/test/test_ast.py
Lib/test/test_ast.py
+1
-1
Lib/test/test_http_cookiejar.py
Lib/test/test_http_cookiejar.py
+1
-1
Lib/test/test_normalization.py
Lib/test/test_normalization.py
+1
-1
Lib/test/test_urllib.py
Lib/test/test_urllib.py
+1
-1
Misc/HISTORY
Misc/HISTORY
+1
-1
Modules/_ssl.c
Modules/_ssl.c
+1
-1
Modules/_winapi.c
Modules/_winapi.c
+1
-1
Modules/unicodedata.c
Modules/unicodedata.c
+1
-1
PCbuild/readme.txt
PCbuild/readme.txt
+1
-1
No files found.
Include/datetime.h
View file @
2079cc67
...
@@ -42,7 +42,7 @@ typedef struct
...
@@ -42,7 +42,7 @@ typedef struct
typedef
struct
typedef
struct
{
{
PyObject_HEAD
/* a pure abstract base clas
e
*/
PyObject_HEAD
/* a pure abstract base clas
s
*/
}
PyDateTime_TZInfo
;
}
PyDateTime_TZInfo
;
...
...
Lib/collections/__init__.py
View file @
2079cc67
...
@@ -375,7 +375,7 @@ def namedtuple(typename, field_names, verbose=False, rename=False):
...
@@ -375,7 +375,7 @@ def namedtuple(typename, field_names, verbose=False, rename=False):
print
(
result
.
_source
)
print
(
result
.
_source
)
# For pickling to work, the __module__ variable needs to be set to the frame
# For pickling to work, the __module__ variable needs to be set to the frame
# where the named tuple is created. Bypass this step in enviroments where
# where the named tuple is created. Bypass this step in enviro
n
ments where
# sys._getframe is not defined (Jython for example) or sys._getframe is not
# sys._getframe is not defined (Jython for example) or sys._getframe is not
# defined for arguments greater than 0 (IronPython).
# defined for arguments greater than 0 (IronPython).
try
:
try
:
...
...
Lib/test/datetimetester.py
View file @
2079cc67
...
@@ -250,7 +250,7 @@ class TestTimeZone(unittest.TestCase):
...
@@ -250,7 +250,7 @@ class TestTimeZone(unittest.TestCase):
t
.
replace
(
tzinfo
=
tz
).
dst
())
t
.
replace
(
tzinfo
=
tz
).
dst
())
#############################################################################
#############################################################################
# Base clas
e
for testing a particular aspect of timedelta, time, date and
# Base clas
s
for testing a particular aspect of timedelta, time, date and
# datetime comparisons.
# datetime comparisons.
class
HarmlessMixedComparison
:
class
HarmlessMixedComparison
:
...
...
Lib/test/test_ast.py
View file @
2079cc67
...
@@ -22,7 +22,7 @@ def to_tuple(t):
...
@@ -22,7 +22,7 @@ def to_tuple(t):
# These tests are compiled through "exec"
# These tests are compiled through "exec"
# There should be atleast one test per statement
# There should be at
least one test per statement
exec_tests
=
[
exec_tests
=
[
# None
# None
"None"
,
"None"
,
...
...
Lib/test/test_http_cookiejar.py
View file @
2079cc67
...
@@ -374,7 +374,7 @@ class CookieTests(unittest.TestCase):
...
@@ -374,7 +374,7 @@ class CookieTests(unittest.TestCase):
## commas and equals are commonly appear in the cookie value). This also
## commas and equals are commonly appear in the cookie value). This also
## means that if you fold multiple Set-Cookie header fields into one,
## means that if you fold multiple Set-Cookie header fields into one,
## comma-separated list, it'll be a headache to parse (at least my head
## comma-separated list, it'll be a headache to parse (at least my head
## starts hurting everytime I think of that code).
## starts hurting every
time I think of that code).
## - Expires: You'll get all sorts of date formats in the expires,
## - Expires: You'll get all sorts of date formats in the expires,
## including emtpy expires attributes ("expires="). Be as flexible as you
## including emtpy expires attributes ("expires="). Be as flexible as you
## can, and certainly don't expect the weekday to be there; if you can't
## can, and certainly don't expect the weekday to be there; if you can't
...
...
Lib/test/test_normalization.py
View file @
2079cc67
...
@@ -59,7 +59,7 @@ class NormalizationTest(unittest.TestCase):
...
@@ -59,7 +59,7 @@ class NormalizationTest(unittest.TestCase):
c1
,
c2
,
c3
,
c4
,
c5
=
[
unistr
(
x
)
for
x
in
line
.
split
(
';'
)[:
-
1
]]
c1
,
c2
,
c3
,
c4
,
c5
=
[
unistr
(
x
)
for
x
in
line
.
split
(
';'
)[:
-
1
]]
except
RangeError
:
except
RangeError
:
# Skip unsupported characters;
# Skip unsupported characters;
# try atleast adding c1 if we are in part1
# try at
least adding c1 if we are in part1
if
part
==
"@Part1"
:
if
part
==
"@Part1"
:
try
:
try
:
c1
=
unistr
(
line
.
split
(
';'
)[
0
])
c1
=
unistr
(
line
.
split
(
';'
)[
0
])
...
...
Lib/test/test_urllib.py
View file @
2079cc67
...
@@ -1218,7 +1218,7 @@ class URLopener_Tests(unittest.TestCase):
...
@@ -1218,7 +1218,7 @@ class URLopener_Tests(unittest.TestCase):
# Everywhere else they work ok, but on those machines, sometimes
# Everywhere else they work ok, but on those machines, sometimes
# fail in one of the tests, sometimes in other. I have a linux, and
# fail in one of the tests, sometimes in other. I have a linux, and
# the tests go ok.
# the tests go ok.
# If anybody has one of the problematic enviroments, please help!
# If anybody has one of the problematic enviro
n
ments, please help!
# . Facundo
# . Facundo
#
#
# def server(evt):
# def server(evt):
...
...
Misc/HISTORY
View file @
2079cc67
...
@@ -2806,7 +2806,7 @@ Library
...
@@ -2806,7 +2806,7 @@ Library
- Issue #1285086: Speed up urllib.parse functions: quote, quote_from_bytes,
- Issue #1285086: Speed up urllib.parse functions: quote, quote_from_bytes,
unquote, unquote_to_bytes.
unquote, unquote_to_bytes.
- Issue #8688: Distutils now recalculates MANIFEST everytime.
- Issue #8688: Distutils now recalculates MANIFEST every
time.
- Issue #8477: ssl.RAND_egd() and ssl._test_decode_cert() support str with
- Issue #8477: ssl.RAND_egd() and ssl._test_decode_cert() support str with
surrogates and bytes for the filename.
surrogates and bytes for the filename.
...
...
Modules/_ssl.c
View file @
2079cc67
...
@@ -1564,7 +1564,7 @@ static PyObject *PySSL_SSLshutdown(PySSLSocket *self)
...
@@ -1564,7 +1564,7 @@ static PyObject *PySSL_SSLshutdown(PySSLSocket *self)
* Otherwise OpenSSL might read in too much data,
* Otherwise OpenSSL might read in too much data,
* eating clear text data that happens to be
* eating clear text data that happens to be
* transmitted after the SSL shutdown.
* transmitted after the SSL shutdown.
* Should be safe to call repeatedly everytime this
* Should be safe to call repeatedly every
time this
* function is used and the shutdown_seen_zero != 0
* function is used and the shutdown_seen_zero != 0
* condition is met.
* condition is met.
*/
*/
...
...
Modules/_winapi.c
View file @
2079cc67
...
@@ -489,7 +489,7 @@ getenvironment(PyObject* environment)
...
@@ -489,7 +489,7 @@ getenvironment(PyObject* environment)
Py_UCS4
*
buffer
=
NULL
,
*
p
,
*
end
;
Py_UCS4
*
buffer
=
NULL
,
*
p
,
*
end
;
PyObject
*
keys
,
*
values
,
*
res
;
PyObject
*
keys
,
*
values
,
*
res
;
/* convert environment dictionary to windows enviroment string */
/* convert environment dictionary to windows enviro
n
ment string */
if
(
!
PyMapping_Check
(
environment
))
{
if
(
!
PyMapping_Check
(
environment
))
{
PyErr_SetString
(
PyErr_SetString
(
PyExc_TypeError
,
"environment must be dictionary or None"
);
PyExc_TypeError
,
"environment must be dictionary or None"
);
...
...
Modules/unicodedata.c
View file @
2079cc67
...
@@ -524,7 +524,7 @@ nfd_nfkd(PyObject *self, PyObject *input, int k)
...
@@ -524,7 +524,7 @@ nfd_nfkd(PyObject *self, PyObject *input, int k)
while
(
stackptr
)
{
while
(
stackptr
)
{
Py_UCS4
code
=
stack
[
--
stackptr
];
Py_UCS4
code
=
stack
[
--
stackptr
];
/* Hangul Decomposition adds three characters in
/* Hangul Decomposition adds three characters in
a single step, so we need atleast that much room. */
a single step, so we need at
least that much room. */
if
(
space
<
3
)
{
if
(
space
<
3
)
{
Py_UCS4
*
new_output
;
Py_UCS4
*
new_output
;
osize
+=
10
;
osize
+=
10
;
...
...
PCbuild/readme.txt
View file @
2079cc67
...
@@ -265,7 +265,7 @@ SDK, in particular the 64-bit support. This includes an Itanium compiler
...
@@ -265,7 +265,7 @@ SDK, in particular the 64-bit support. This includes an Itanium compiler
In addition, you need the Visual Studio plugin for external C compilers,
In addition, you need the Visual Studio plugin for external C compilers,
from http://sf.net/projects/vsextcomp. The plugin will wrap cl.exe, to
from http://sf.net/projects/vsextcomp. The plugin will wrap cl.exe, to
locate the proper target compiler, and convert compiler options
locate the proper target compiler, and convert compiler options
accordingly. The project files require atleast version 0.9.
accordingly. The project files require at
least version 0.9.
Building for AMD64
Building for AMD64
------------------
------------------
...
...
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