Skip to content

Commit

Permalink
Fix two typos, thanks to email from Steve Lane
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-rhodes committed Dec 27, 2023
1 parent 7bd887d commit 24082f1
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions python/module-globals/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -331,15 +331,11 @@ they inexplicably specify it as a Python list.
It is more elegant to use a tuple.

Beyond these official dunder constants,
some modules —
despite unattractive how many people find dunder names —
indulge in the creation of even more.
some modules add even more.
Assignments to names like ``__author__`` and ``__version__``
are scattered across the Standard Library and beyond.
While they don’t appear consistently enough
for tooling can assume their presence,
occasional readers probably find them informative,
and they’re easier to get to than official package metadata.
Tools tend to ignore these non-standard names,
but a human reader might occasionally find them informative.

Beware that there does not seem to be agreement,
even within the Standard Library,
Expand Down

0 comments on commit 24082f1

Please sign in to comment.