File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ .. _eastereggs :
2+
3+ ******************
4+ Python Easter Eggs
5+ ******************
6+
7+ .. toctree ::
8+
9+ this.rst
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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 >`__
You can’t perform that action at this time.
0 commit comments