On Fri, Jul 29, 2016 at 12:55 PM, Alexander Belopolsky
<[email protected]> wrote:
>
> How should I present the signature of the new replace method in the
> documentation?
Having not seeing any replies, let me make a proposal:
datetime.replace(hour=self.hour, minute=self.minute, second=self.second,
microsecond=self.microsecond, tzinfo=self.tzinfo, *, fold=self.fold)
while not a valid method signature, this seems to correctly reflect
what replace() does.
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com