On 19Nov2017 11:49, Greg Ewing <greg.ew...@canterbury.ac.nz> wrote:
Cameron Simpson wrote:
one could change implementations such that applying a docstring to
an object _removed_ it from the magic-shared-singleton pool,
Is there any need to bother? If another float happened to end
up with exactly the same value as pi and got merged with it,
the docstring wouldn't be wrong.
Unless one had a misfortune and wanted another docstring. For pi this might not
be so likely, but consider:
MAX_BUFSIZE = 8192
MAX_BUFSIZE.__doc__ = 'Size of the hardware buffer used for I/O on this
DEFAULT_CACHESIZE = 8192
DEFAULT_CACHESIZE.__doc__ = 'Convenient size for the foo cache, not to big
or too small.'
Cameron Simpson <c...@cskk.id.au> (formerly c...@zip.com.au)