◐ Shell
clean mode source ↗

gh-99032: datetime docs: Encoding is no longer relevant by wjandrea · Pull Request #93365 · python/cpython

The `.strftime()` methods return a Unicode string as of Python 3.0.

DanielNoord

AA-Turner

nanjekyejoannah

@AlexWaygood AlexWaygood changed the title docs: datetime: Encoding is no longer relevant gh-99033: datetime docs: Encoding is no longer relevant

Nov 3, 2022

@AlexWaygood AlexWaygood changed the title gh-99033: datetime docs: Encoding is no longer relevant gh-99032: datetime docs: Encoding is no longer relevant

Nov 3, 2022

pganssle

@pganssle

pganssle

@pganssle

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Apr 24, 2023
…GH-93365)

This removes a section of the `strftime` and `strptime` documentation that refers to a bygone era when `strftime` would return an encoded byte string.

---------

(cherry picked from commit 2aa22f7)

Co-authored-by: William Andrea <william.j.andrea@gmail.com>
Co-authored-by: Paul Ganssle <1377457+pganssle@users.noreply.github.com>

carljm added a commit to carljm/cpython that referenced this pull request

Apr 24, 2023

carljm added a commit to carljm/cpython that referenced this pull request

Apr 24, 2023

JelleZijlstra pushed a commit that referenced this pull request

Apr 29, 2023
) (#103788)

This removes a section of the `strftime` and `strptime` documentation that refers to a bygone era when `strftime` would return an encoded byte string.

---------

(cherry picked from commit 2aa22f7)

Co-authored-by: William Andrea <william.j.andrea@gmail.com>
Co-authored-by: Paul Ganssle <1377457+pganssle@users.noreply.github.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>