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
5e28fb80
Commit
5e28fb80
authored
Oct 07, 2015
by
Martin Panter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More typos in 3.5 documentation and comments
parent
a3a4e848
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
Lib/test/test_time.py
Lib/test/test_time.py
+2
-2
Misc/NEWS
Misc/NEWS
+2
-2
Objects/abstract.c
Objects/abstract.c
+1
-1
Objects/methodobject.c
Objects/methodobject.c
+1
-1
No files found.
Lib/test/test_time.py
View file @
5e28fb80
...
@@ -773,7 +773,7 @@ class TestPyTime_t(unittest.TestCase):
...
@@ -773,7 +773,7 @@ class TestPyTime_t(unittest.TestCase):
(
2
**
23
-
1e-9
,
8388607999999999
),
(
2
**
23
-
1e-9
,
8388607999999999
),
(
2
**
23
,
8388608000000000
),
(
2
**
23
,
8388608000000000
),
# start lo
o
sing precision for value > 2^23 seconds
# start losing precision for value > 2^23 seconds
(
2
**
23
+
1e-9
,
8388608000000002
),
(
2
**
23
+
1e-9
,
8388608000000002
),
# nanoseconds are lost for value > 2^23 seconds
# nanoseconds are lost for value > 2^23 seconds
...
@@ -848,7 +848,7 @@ class TestPyTime_t(unittest.TestCase):
...
@@ -848,7 +848,7 @@ class TestPyTime_t(unittest.TestCase):
(
4194304000000000
,
2
**
22
),
(
4194304000000000
,
2
**
22
),
(
4194304000000001
,
2
**
22
+
1e-9
),
(
4194304000000001
,
2
**
22
+
1e-9
),
# start lo
o
sing precision for value > 2^23 seconds
# start losing precision for value > 2^23 seconds
(
8388608000000002
,
2
**
23
+
1e-9
),
(
8388608000000002
,
2
**
23
+
1e-9
),
# nanoseconds are lost for value > 2^23 seconds
# nanoseconds are lost for value > 2^23 seconds
...
...
Misc/NEWS
View file @
5e28fb80
...
@@ -285,7 +285,7 @@ Build
...
@@ -285,7 +285,7 @@ Build
-----
-----
-
Issue
#
24915
:
Add
LLVM
support
for
PGO
builds
and
use
the
test
suite
to
-
Issue
#
24915
:
Add
LLVM
support
for
PGO
builds
and
use
the
test
suite
to
generate
the
profile
data
.
Initi
i
al
patch
by
Alecsandru
Patrascu
of
Intel
.
generate
the
profile
data
.
Initial
patch
by
Alecsandru
Patrascu
of
Intel
.
-
Issue
#
24910
:
Windows
MSIs
now
have
unique
display
names
.
-
Issue
#
24910
:
Windows
MSIs
now
have
unique
display
names
.
...
@@ -1693,7 +1693,7 @@ Core and Builtins
...
@@ -1693,7 +1693,7 @@ Core and Builtins
type) can now be weakref'
ed
.
Patch
by
Wei
Wu
.
type) can now be weakref'
ed
.
Patch
by
Wei
Wu
.
-
Issue
#
22077
:
Improve
index
error
messages
for
bytearrays
,
bytes
,
lists
,
-
Issue
#
22077
:
Improve
index
error
messages
for
bytearrays
,
bytes
,
lists
,
and
tuples
by
adding
'or slices'
.
Added
', not <typename'
for
bytearrays
.
and
tuples
by
adding
'or slices'
.
Added
', not <typename
>
'
for
bytearrays
.
Original
patch
by
Claudiu
Popa
.
Original
patch
by
Claudiu
Popa
.
-
Issue
#
20179
:
Apply
Argument
Clinic
to
bytes
and
bytearray
.
-
Issue
#
20179
:
Apply
Argument
Clinic
to
bytes
and
bytearray
.
...
...
Objects/abstract.c
View file @
5e28fb80
...
@@ -2131,7 +2131,7 @@ PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw)
...
@@ -2131,7 +2131,7 @@ PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw)
/* PyObject_Call() must not be called with an exception set,
/* PyObject_Call() must not be called with an exception set,
because it may clear it (directly or indirectly) and so the
because it may clear it (directly or indirectly) and so the
caller lo
o
ses its exception */
caller loses its exception */
assert
(
!
PyErr_Occurred
());
assert
(
!
PyErr_Occurred
());
call
=
func
->
ob_type
->
tp_call
;
call
=
func
->
ob_type
->
tp_call
;
...
...
Objects/methodobject.c
View file @
5e28fb80
...
@@ -89,7 +89,7 @@ PyCFunction_Call(PyObject *func, PyObject *args, PyObject *kwds)
...
@@ -89,7 +89,7 @@ PyCFunction_Call(PyObject *func, PyObject *args, PyObject *kwds)
/* PyCFunction_Call() must not be called with an exception set,
/* PyCFunction_Call() must not be called with an exception set,
because it may clear it (directly or indirectly) and so the
because it may clear it (directly or indirectly) and so the
caller lo
o
ses its exception */
caller loses its exception */
assert
(
!
PyErr_Occurred
());
assert
(
!
PyErr_Occurred
());
flags
=
PyCFunction_GET_FLAGS
(
func
)
&
~
(
METH_CLASS
|
METH_STATIC
|
METH_COEXIST
);
flags
=
PyCFunction_GET_FLAGS
(
func
)
&
~
(
METH_CLASS
|
METH_STATIC
|
METH_COEXIST
);
...
...
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