Skip to content

docstring for email._parseaddr._parsedate_tz says "declaims knowledge" vs "disclaims" #101913

@altinp

Description

@altinp

Documentation

The docstring here reads:
"The last (additional) element is the time zone offset in seconds, except if
the timezone was specified as -0000. In that case the last element is
None. This indicates a UTC timestamp that explicitly declaims knowledge of
the source timezone, as opposed to a +0000 timestamp that indicates the
source timezone really was UTC."

This sounds wrong and is confusing. I believe the intention was to say "disclaims".

I see this in the latest version and also, at least, in 3.8.6. (Plus future.backports.email._parseaddr._parsedate_tz)

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions