8000 Make steps also available as a non-kw arg · matthiasgoergens/cpython@311f266 · GitHub
[go: up one dir, main page]

Skip to content

Commit 311f266

Browse files
Make steps also available as a non-kw arg
1 parent 1fff8b4 commit 311f266

File tree

6 files changed

+10
-45
lines changed

6 files changed

+10
-45
lines changed

Include/internal/pycore_global_objects_fini_generated.h

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Include/internal/pycore_global_strings.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,6 @@ struct _Py_global_strings {
680680
STRUCT_FOR_ID(stdin)
681681
STRUCT_FOR_ID(stdout)
682682
STRUCT_FOR_ID(step)
683-
STRUCT_FOR_ID(steps)
684683
STRUCT_FOR_ID(store_name)
685684
STRUCT_FOR_ID(strategy)
686685
STRUCT_FOR_ID(strftime)

Include/internal/pycore_runtime_init_generated.h

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Include/internal/pycore_unicodeobject_generated.h

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

Modules/clinic/mathmodule.c.h

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

Modules/mathmodule.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3863,9 +3863,8 @@ math.nextafter
38633863
38643864
x: double
38653865
y: double
3866-
/
3867-
*
38683866
steps: object = None
3867+
/
38693868
38703869
Return the floating-point value the given number of steps after x towards y.
38713870
@@ -3877,7 +3876,7 @@ Raises ValueError if steps is negative.
38773876

38783877
static PyObject *
38793878
math_nextafter_impl(PyObject *module, double x, double y, PyObject *steps)
3880-
/*[clinic end generated code: output=cc6511f02afc099e input=7f2a5842112af2b4]*/
3879+
/*[clinic end generated code: output=cc6511f02afc099e input=fa9d9e3472b55cc1]*/
38813880
{
38823881
#if defined(_AIX)
38833882
if (x == y) {

0 commit comments

Comments
 (0)
0