]> granicus.if.org Git - python/commit
Clarify U-mode deprecation in open() (GH-11646)
authorNick Coghlan <ncoghlan@gmail.com>
Sun, 27 Jan 2019 16:21:11 +0000 (02:21 +1000)
committerGitHub <noreply@github.com>
Sun, 27 Jan 2019 16:21:11 +0000 (02:21 +1000)
commit3171df34141c1f26ec16dccb4357184c0cf6c58f
treea1700c6745b2c0154f0f5682de016f1ea153fd9f
parent81d04bcf2124341aa73e5c13c1f1c4bdd3f5dbef
Clarify U-mode deprecation in open() (GH-11646)

The previous wording could be read as saying that universal
newlines mode itself was deprecated, when it's only the 'U'
character in the mode field that should be avoided.

The update also moves the description of the 'U' mode character
out of the mode table, as the longer explanation was overly
intrusive as a table entry and overshadowed the actually useful
mode characters.
Doc/library/functions.rst