File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -649,6 +649,9 @@ Constants
649
649
A floating-point "not a number" (NaN) value. Equivalent to the output of
650
650
``float('nan') ``.
651
651
652
+ .. versionchanged :: 3.11
653
+ It is now always available.
654
+
652
655
.. versionadded :: 3.5
653
656
654
657
Original file line number Diff line number Diff line change @@ -254,6 +254,7 @@ inspect
254
254
255
255
math
256
256
----
257
+
257
258
* Add :func: `math.exp2 `: return 2 raised to the power of x.
258
259
(Contributed by Gideon Mitchell in :issue: `45917 `.)
259
260
266
267
``inf ``. Previously they raised :exc: `ValueError `. (Contributed by Mark
267
268
Dickinson in :issue: `44339 `.)
268
269
270
+ * The :data: `math.nan ` value is now always available.
271
+ (Contributed by Victor Stinner in :issue: `46917 `.)
272
+
269
273
270
274
operator
271
275
--------
Original file line number Diff line number Diff line change
1
+ The :data: `math.nan ` value is now always available. Patch by Victor Stinner.
You can’t perform that action at this time.
0 commit comments