This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author facundobatista
Recipients docs@python, facundobatista
Date 2020-04-24.20:16:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1587759360.28.0.146955814508.issue40382@roundup.psfhosted.org>
In-reply-to
Content
This is mostly a confusion about 'r' being a synonym of 'rt', while it's more explicit if we consider 'r' as one default, and 't' as other (as other parts of the documentation do).

Doing `help(open)` we get:

    mode is an optional string that specifies the mode in which the file
    is opened. It defaults to 'r' which means open for reading in text
    mode. 

Later in the same text it's stated:

    The default mode is 'rt' (open for reading text).

Which reflects the wording I want to have, but is confusing that initially it said a different thing.

If we get the html docs, it says "The default mode is 'r' (open for reading text, synonym of 'rt')."
    
Why not just stating that the default mode is 'rt'?
History
Date User Action Args
2020-04-24 20:16:00facundobatistasetrecipients: + facundobatista, docs@python
2020-04-24 20:16:00facundobatistasetmessageid: <1587759360.28.0.146955814508.issue40382@roundup.psfhosted.org>
2020-04-24 20:16:00facundobatistalinkissue40382 messages
2020-04-24 20:16:00facundobatistacreate