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
649649 A floating-point "not a number" (NaN) value. Equivalent to the output of
650650 ``float('nan') ``.
651651
652+ .. versionchanged :: 3.11
653+ It is now always available.
654+
652655 .. versionadded :: 3.5
653656
654657
Original file line number Diff line number Diff line change @@ -254,6 +254,7 @@ inspect
254254
255255math
256256----
257+
257258* Add :func: `math.exp2 `: return 2 raised to the power of x.
258259 (Contributed by Gideon Mitchell in :issue: `45917 `.)
259260
266267 ``inf ``. Previously they raised :exc: `ValueError `. (Contributed by Mark
267268 Dickinson in :issue: `44339 `.)
268269
270+ * The :data: `math.nan ` value is now always available.
271+ (Contributed by Victor Stinner in :issue: `46917 `.)
272+
269273
270274operator
271275--------
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