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:
Christian Heimes 2008-01-14 04:13:37 +00:00
parent f31b69f9db
commit c94e2b5c12
5 changed files with 81 additions and 29 deletions

View file

@ -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`.