[issue28386] Improve documentation about tzinfo.dst(None)

2016-10-07 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: None is passed to tzinfo.dst() when it is called from time.dst() method. This is documented in the relevant section: . I am not sure whether if it is worth repeating in the abstract tz

[issue28386] Improve documentation about tzinfo.dst(None)

2016-10-07 Thread R. David Murray
Changes by R. David Murray : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue28386] Improve documentation about tzinfo.dst(None)

2016-10-07 Thread Daniel Moisset
New submission from Daniel Moisset: The datetime module documentation[1] describes the tzinfo.dst method with a single "dt" argument without being too explicit about possible values for it. The implication is that dt should be a datetime object, but the implementation of time.dst() [2] actuall