Skip to content

Commit 91491ed

Browse files
add __phello__ frozen modules Easter egg
Add "Breakfast of Champions" entry documenting the __phello__.spam, __phello__.ham, __phello__.ham.eggs frozen modules references Monty Python's SPAM sketch.
1 parent de2ebec commit 91491ed

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,16 @@ class code(object)
203203
SyntaxError: You found it!
204204
```
205205

206+
### 16. Breakfast of Champions[^breakfast-of-champions]
207+
208+
```py
209+
>>> import __phello__.spam
210+
>>> __phello__.spam.main()
211+
Hello World!
212+
>>> import __phello__.ham
213+
>>> import __phello__.ham.eggs
214+
```
215+
206216
[^hello-world]: Easiest hello world program in a language without calling any function
207217
[^the-classic]: Each and every line is the philosophy of Python's design and is a supreme holy guide
208218
[^missing-zen]: Maybe just to show that there always should be a new line at the end of a file!
@@ -217,6 +227,7 @@ SyntaxError: You found it!
217227
[^pep-401]: The [PEP 401](https://www.python.org/dev/peps/pep-0401/) is an April Fools' Joke - The PEP's number is 401, i.e. 4/01 or April 1st (April Fools' Day). The PEP states that Guido van Rossum is stepping down. The new title given to him would be pronounced "BDEVIL" (Benevolent Dictator Emeritus Vacationing Indefinitely from the Language) and Guido's successor will be Barry Warsaw, or as he is affectionately known, Uncle Barry. Uncle Barry's official title is "FLUFL" (Friendly Language Uncle For Life). There are in-jokes about the Parrot virtual machine and the "non-existent" Python Secret Underground (possibly a throw-back to ["TINC" on USENET](https://en.wikipedia.org/wiki/There_Is_No_Cabal)).
218228
[^inpynite]: [Source](https://www.reddit.com/r/Python/comments/6wrd8t/nice_lil_easter_egg_i_suppose/).
219229
[^peg-parser]: See [this answer](https://stackoverflow.com/a/65487013/14362510)
230+
[^breakfast-of-champions]: [Frozen modules](https://github.com/python/cpython/blob/main/Python/frozen.c) used for testing and is a reference to Monty Python's [SPAM sketch](https://cs.stanford.edu/people/eroberts/cs181/projects/spam/sketch.HTML)
220231

221232
## Add more
222233

0 commit comments

Comments
 (0)