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
0f8f784a
Commit
0f8f784a
authored
Dec 01, 2014
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed duplicated words in in comments and docs.
parent
d862db0d
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
Lib/hashlib.py
Lib/hashlib.py
+1
-1
Lib/test/test_docxmlrpc.py
Lib/test/test_docxmlrpc.py
+1
-1
Modules/posixmodule.c
Modules/posixmodule.c
+1
-1
Python/pystrtod.c
Python/pystrtod.c
+1
-1
Python/random.c
Python/random.c
+1
-1
Python/thread.c
Python/thread.c
+1
-1
No files found.
Lib/hashlib.py
View file @
0f8f784a
...
...
@@ -187,7 +187,7 @@ except ImportError:
def
prf
(
msg
,
inner
=
inner
,
outer
=
outer
):
# PBKDF2_HMAC uses the password as key. We can re-use the same
# digest objects and
and
just update copies to skip initialization.
# digest objects and just update copies to skip initialization.
icpy
=
inner
.
copy
()
ocpy
=
outer
.
copy
()
icpy
.
update
(
msg
)
...
...
Lib/test/test_docxmlrpc.py
View file @
0f8f784a
...
...
@@ -10,7 +10,7 @@ import unittest
PORT
=
None
def
make_request_and_skipIf
(
condition
,
reason
):
# If we skip the test, we have to make a request because
the
# If we skip the test, we have to make a request because
# the server created in setUp blocks expecting one to come in.
if
not
condition
:
return
lambda
func
:
func
...
...
Modules/posixmodule.c
View file @
0f8f784a
...
...
@@ -8496,7 +8496,7 @@ posix_sysconf(PyObject *self, PyObject *args)
/* This code is used to ensure that the tables of configuration value names
* are in sorted order as required by conv_confname(), and also to build
the
* are in sorted order as required by conv_confname(), and also to build
* the exported dictionaries that are used to publish information about the
* names available on the host platform.
*
...
...
Python/pystrtod.c
View file @
0f8f784a
...
...
@@ -324,7 +324,7 @@ PyOS_ascii_atof(const char *nptr)
On overflow (e.g., when trying to convert '1e500' on an IEEE 754 machine),
if overflow_exception is NULL then +-Py_HUGE_VAL is returned, and no Python
exception is raised. Otherwise, overflow_exception should point to
a
exception is raised. Otherwise, overflow_exception should point to
a Python exception, this exception will be raised, -1.0 will be returned,
and *endptr will point just past the end of the converted value.
...
...
Python/random.c
View file @
0f8f784a
...
...
@@ -274,7 +274,7 @@ lcg_urandom(unsigned int x0, unsigned char *buffer, size_t size)
}
/* Fill buffer with size pseudo-random bytes from the operating system random
number generator (RNG). It is suitable for
for
most cryptographic purposes
number generator (RNG). It is suitable for most cryptographic purposes
except long living private keys for asymmetric encryption.
Return 0 on success, raise an exception and return -1 on error. */
...
...
Python/thread.c
View file @
0f8f784a
...
...
@@ -271,7 +271,7 @@ find_key(int key, void *value)
if
(
p
->
id
==
id
&&
p
->
key
==
key
)
goto
Done
;
/* Sanity check. These states should never happen but if
* they do we must abort. Otherwise we'll end up spinning
in
* they do we must abort. Otherwise we'll end up spinning
* in a tight loop with the lock held. A similar check is done
* in pystate.c tstate_delete_common(). */
if
(
p
==
prev_p
)
...
...
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