Skip to content

Commit 0aeb33a

Browse files
committed
Lets not test a patience of the reader with examples for this...
1 parent 19738a7 commit 0aeb33a

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

Objects/clinic/longobject.c.h

Lines changed: 2 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Objects/longobject.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6021,18 +6021,11 @@ int_bit_count_impl(PyObject *self)
60216021
int.as_integer_ratio
60226022
60236023
Given an integer x, return the tuple (int(x), 1).
6024-
6025-
>>> (10).as_integer_ratio()
6026-
(10, 1)
6027-
>>> (-10).as_integer_ratio()
6028-
(-10, 1)
6029-
>>> (0).as_integer_ratio()
6030-
(0, 1)
60316024
[clinic start generated code]*/
60326025

60336026
static PyObject *
60346027
int_as_integer_ratio_impl(PyObject *self)
6035-
/*[clinic end generated code: output=e60803ae1cc8621a input=61de2d707e10af00]*/
6028+
/*[clinic end generated code: output=e60803ae1cc8621a input=258f5b08307e7dcd]*/
60366029
{
60376030
PyObject *ratio_tuple;
60386031
PyObject *numerator = long_long(self);

0 commit comments

Comments
 (0)