help()
doesn't show the __doc__
of a partial object.
Yet, the example in the docs sets it:
>>> from functools import partial
>>> basetwo = partial(int, base=2)
>>> basetwo.__doc__ = 'Convert base 2 string to an int.'
>>> basetwo('10010')
18
Why set __doc__
, if it doesn't help?