File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -158,8 +158,8 @@ Floating-Point Objects
158158 .. c :macro :: Py_IS_FINITE(X)
159159
160160 Return ``1 `` if the given floating-point number *X * is finite,
161- that is, it is normal, subnormal or zero, but not infinite or NaN;
162- else ``0 ``.
161+ that is, it is normal, subnormal or zero, but not infinite or NaN.
162+ Return ``0 `` otherwise .
163163
164164 .. deprecated :: 3.14
165165 The macro is :term: `soft deprecated `. Use :c:macro: `!isfinite ` instead.
@@ -168,16 +168,16 @@ Floating-Point Objects
168168.. c :macro :: Py_IS_INFINITY(X)
169169
170170 Return ``1 `` if the given floating-point number *X * is positive or negative
171- infinity, else ``0 ``.
171+ infinity. Return ``0 `` otherwise .
172172
173173 .. deprecated :: 3.14
174174 The macro is :term: `soft deprecated `. Use :c:macro: `!isinf ` instead.
175175
176176
177177.. c :macro :: Py_IS_NAN(X)
178178
179- Return ``1 `` if the given floating-point number *X * is a not-a-number (NaN) value,
180- else ``0``.
179+ Return ``1 `` if the given floating-point number *X * is a not-a-number (NaN)
180+ value. Return ``0`` otherwise .
181181
182182 .. deprecated:: 3.14
183183 The macro is :term:`soft deprecated`. Use :c:macro:`!isnan` instead.
You can’t perform that action at this time.
0 commit comments