[Python-Dev] Method signatures in the datetime module documentation
Alexander Belopolsky
alexander.belopolsky at gmail.com
Thu Aug 4 13:12:27 EDT 2016
On Wed, Aug 3, 2016 at 10:41 PM, Martin Panter <vadmium+py at gmail.com> wrote:
> If replace() actually supported these keywords all along, then I am happy
> with this proposal.
>
With the obvious exception of "fold", it did at least since Python 3.0
(and likely since 2.x where x is 5 ± 1.)
> There are a few bug reports that may be relevant:
>
> https://bugs.python.org/issue13386: notation where there is no simple
> default value
> https://bugs.python.org/issue23738: notation for defaults for
> positional-only parameters
Thanks. These are helpful, but they don't address the case in hand
where the member function defaults are taken from the other
attributes.
More information about the Python-Dev
mailing list