Skip to content

Docs: replace all datetime imports with import datetime as dt#145640

Open
hugovk wants to merge 7 commits intopython:mainfrom
hugovk:3.15-docs-import-datetime-as-dt
Open

Docs: replace all datetime imports with import datetime as dt#145640
hugovk wants to merge 7 commits intopython:mainfrom
hugovk:3.15-docs-import-datetime-as-dt

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented Mar 8, 2026

Follow on from #145315.

Whilst here, also updated some to use sentence case for headers:
https://devguide.python.org/documentation/style-guide/#capitalization


📚 Documentation preview 📚: https://cpython-previews--145640.org.readthedocs.build/

@picnixz
Copy link
Member

picnixz commented Mar 8, 2026

Can we have a better title for this PR?

@StanFromIreland
Copy link
Member

I suggest:

Docs: replace all datetime imports with import datetime as dt

@kumaraditya303 kumaraditya303 removed their request for review March 9, 2026 11:25
@hugovk hugovk changed the title Docs: import datetime as dt in other examples Docs: replace all datetime imports with import datetime as dt Mar 9, 2026
Copy link
Member

@StanFromIreland StanFromIreland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (with a little fix)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants