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
0ac70c0e
Commit
0ac70c0e
authored
Apr 29, 2016
by
Berker Peksag
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos. Reported by andportnoy on GitHub.
parent
3a31cca4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Modules/_randommodule.c
Modules/_randommodule.c
+1
-1
Objects/typeobject.c
Objects/typeobject.c
+1
-1
No files found.
Modules/_randommodule.c
View file @
0ac70c0e
...
...
@@ -136,7 +136,7 @@ genrand_int32(RandomObject *self)
* optimize the division away at compile-time. 67108864 is 2**26. In
* effect, a contains 27 random bits shifted left 26, and b fills in the
* lower 26 bits of the 53-bit numerator.
* The orginal code credited Isaku Wada for this algorithm, 2002/01/09.
* The or
i
ginal code credited Isaku Wada for this algorithm, 2002/01/09.
*/
static
PyObject
*
random_random
(
RandomObject
*
self
)
...
...
Objects/typeobject.c
View file @
0ac70c0e
...
...
@@ -3944,7 +3944,7 @@ _PyObject_GetState(PyObject *obj, int required)
}
/* If we found some slot attributes, pack them in a tuple along
the orginal attribute dictionary. */
the or
i
ginal attribute dictionary. */
if
(
PyDict_Size
(
slots
)
>
0
)
{
PyObject
*
state2
;
...
...
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