Skip to content

Commit 311f266

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

6 files changed

+10
-45
lines changed
 

‎Include/internal/pycore_global_objects_fini_generated.h

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Include/internal/pycore_global_strings.h

-1
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

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Include/internal/pycore_unicodeobject_generated.h

-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Modules/clinic/mathmodule.c.h

+8-36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Modules/mathmodule.c

+2-3
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)
Please sign in to comment.