Skip to content

Commit e9b5b6b

Browse files
committed
Add a this module doc, with an In Memoriam links
1 parent ab48ba8 commit e9b5b6b

3 files changed

Lines changed: 36 additions & 0 deletions

File tree

‎Doc/library/eastereggs.rst‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.. _eastereggs:
2+
3+
******************
4+
Python Easter Eggs
5+
******************
6+
7+
.. toctree::
8+
9+
this.rst

‎Doc/library/index.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ the `Python Package Index <https://pypi.org>`_.
7272
windows.rst
7373
unix.rst
7474
cmdline.rst
75+
eastereggs.rst
7576
superseded.rst
7677
removed.rst
7778
security_warnings.rst

‎Doc/library/this.rst‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
:mod:`!this` --- The Zen of Python
2+
==================================
3+
4+
:pep:`20` -- The Zen of Python by Tim Peters (RIP).
5+
6+
| Beautiful is better than ugly.
7+
| Explicit is better than implicit.
8+
| Simple is better than complex.
9+
| Complex is better than complicated.
10+
| Flat is better than nested.
11+
| Sparse is better than dense.
12+
| Readability counts.
13+
| Special cases aren't special enough to break the rules.
14+
| Although practicality beats purity.
15+
| Errors should never pass silently.
16+
| Unless explicitly silenced.
17+
| In the face of ambiguity, refuse the temptation to guess.
18+
| There should be one-\- and preferably only one -\-obvious way to do it.
19+
| Although that way may not be obvious at first unless you're Dutch.
20+
| Now is better than never.
21+
| Although never is often better than *right* now.
22+
| If the implementation is hard to explain, it's a bad idea.
23+
| If the implementation is easy to explain, it may be a good idea.
24+
| Namespaces are one honking great idea -\- let's do more of those!
25+
26+
`In Memoriam: Tim Peters 1952-2026 <https://discuss.python.org/t/in-memoriam-tim-peters-1952-2026/110028>`__

0 commit comments

Comments
 (0)