mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Now that I've learnt about structseq objects I felt like converting sys.float_info to a structseq. It's
readonly and help(sys.float_info) explains the attributes nicely.
This commit is contained in:
parent
f31b69f9db
commit
c94e2b5c12
5 changed files with 81 additions and 29 deletions
|
|
@ -559,7 +559,7 @@ Floating Point Objects
|
|||
|
||||
.. cfunction:: PyObject* PyFloat_GetInfo(void)
|
||||
|
||||
Return a :ctype:`PyDictObject` object which contains information about the
|
||||
Return a structseq instance which contains information about the
|
||||
precision, minimum and maximum values of a float. It's a thin wrapper
|
||||
around the header file :file:`float.h`.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue