mirror of
https://github.com/satwikkansal/wtfpython
synced 2024-11-25 20:44:24 +01:00
Fix TOC and links
This commit is contained in:
parent
1b1a5bc10d
commit
12b2fc008e
54
README.md
vendored
54
README.md
vendored
@ -19,6 +19,7 @@ So, here we go...
|
|||||||
# Table of Contents
|
# Table of Contents
|
||||||
|
|
||||||
<!-- Generated using "markdown-toc -i README.md --maxdepth 3"-->
|
<!-- Generated using "markdown-toc -i README.md --maxdepth 3"-->
|
||||||
|
|
||||||
<!-- toc -->
|
<!-- toc -->
|
||||||
|
|
||||||
- [Structure of the Examples](#structure-of-the-examples)
|
- [Structure of the Examples](#structure-of-the-examples)
|
||||||
@ -26,57 +27,52 @@ So, here we go...
|
|||||||
- [Usage](#usage)
|
- [Usage](#usage)
|
||||||
- [👀 Examples](#-examples)
|
- [👀 Examples](#-examples)
|
||||||
* [Section: Strain your brain!](#section-strain-your-brain)
|
* [Section: Strain your brain!](#section-strain-your-brain)
|
||||||
+ [▶ First things first!](#-first-things-first)
|
+ [▶ First things first! *](#-first-things-first-)
|
||||||
+ [▶ Strings can be tricky sometimes](#-strings-can-be-tricky-sometimes)
|
+ [▶ Strings can be tricky sometimes](#-strings-can-be-tricky-sometimes)
|
||||||
+ [▶ Splitsies](#-splitsies)
|
|
||||||
+ [▶ Hash brownies](#-hash-brownies)
|
+ [▶ Hash brownies](#-hash-brownies)
|
||||||
+ [▶ Disorder within order](#-disorder-within-order)
|
|
||||||
+ [▶ Keep trying...](#-keep-trying)
|
|
||||||
+ [▶ Deep down, we're all the same.](#-deep-down-were-all-the-same)
|
+ [▶ Deep down, we're all the same.](#-deep-down-were-all-the-same)
|
||||||
|
+ [▶ Disorder within order *](#-disorder-within-order-)
|
||||||
|
+ [▶ Keep trying... *](#-keep-trying-)
|
||||||
+ [▶ For what?](#-for-what)
|
+ [▶ For what?](#-for-what)
|
||||||
+ [▶ Evaluation time discrepancy](#-evaluation-time-discrepancy)
|
+ [▶ Evaluation time discrepancy](#-evaluation-time-discrepancy)
|
||||||
+ [▶ How not to use `is` operator](#-how-not-to-use-is-operator)
|
+ [▶ How not to use `is` operator](#-how-not-to-use-is-operator)
|
||||||
|
+ [▶ `is not ...` is not `is (not ...)`](#-is-not--is-not-is-not-)
|
||||||
+ [▶ A tic-tac-toe where X wins in the first attempt!](#-a-tic-tac-toe-where-x-wins-in-the-first-attempt)
|
+ [▶ A tic-tac-toe where X wins in the first attempt!](#-a-tic-tac-toe-where-x-wins-in-the-first-attempt)
|
||||||
+ [▶ The sticky output function](#-the-sticky-output-function)
|
+ [▶ The sticky output function](#-the-sticky-output-function)
|
||||||
+ [▶ The chicken-egg problem](#-the-chicken-egg-problem)
|
+ [▶ The chicken-egg problem *](#-the-chicken-egg-problem-)
|
||||||
+ [▶ `is not ...` is not `is (not ...)`](#-is-not--is-not-is-not-)
|
+ [▶ Subclass relationships](#-subclass-relationships)
|
||||||
|
+ [▶ All-true-ation *](#-all-true-ation-)
|
||||||
+ [▶ The surprising comma](#-the-surprising-comma)
|
+ [▶ The surprising comma](#-the-surprising-comma)
|
||||||
+ [▶ Strings and the backslashes](#-strings-and-the-backslashes)
|
+ [▶ Strings and the backslashes](#-strings-and-the-backslashes)
|
||||||
+ [▶ not knot!](#-not-knot)
|
+ [▶ not knot!](#-not-knot)
|
||||||
+ [▶ Half triple-quoted strings](#-half-triple-quoted-strings)
|
+ [▶ Half triple-quoted strings](#-half-triple-quoted-strings)
|
||||||
+ [▶ Midnight time doesn't exist?](#-midnight-time-doesnt-exist)
|
|
||||||
+ [▶ What's wrong with booleans?](#-whats-wrong-with-booleans)
|
+ [▶ What's wrong with booleans?](#-whats-wrong-with-booleans)
|
||||||
+ [▶ Class attributes and instance attributes](#-class-attributes-and-instance-attributes)
|
+ [▶ Class attributes and instance attributes](#-class-attributes-and-instance-attributes)
|
||||||
+ [▶ Non-reflexive class method](#-non-reflexive-class-method)
|
+ [▶ Non-reflexive class method *](#-non-reflexive-class-method-)
|
||||||
+ [▶ yielding None](#-yielding-none)
|
+ [▶ yielding None](#-yielding-none)
|
||||||
+ [▶ Nan-reflexivity](#-nan-reflexivity)
|
+ [▶ Yielding from... return! *](#-yielding-from-return-)
|
||||||
|
+ [▶ Nan-reflexivity *](#-nan-reflexivity-)
|
||||||
+ [▶ Mutating the immutable!](#-mutating-the-immutable)
|
+ [▶ Mutating the immutable!](#-mutating-the-immutable)
|
||||||
+ [▶ The disappearing variable from outer scope](#-the-disappearing-variable-from-outer-scope)
|
+ [▶ The disappearing variable from outer scope](#-the-disappearing-variable-from-outer-scope)
|
||||||
+ [▶ Yielding from... return!](#-yielding-from-return)
|
|
||||||
+ [▶ Lossy zip of iterators](#-lossy-zip-of-iterators)
|
|
||||||
+ [▶ Subclass relationships](#-subclass-relationships)
|
|
||||||
+ [▶ The mysterious key type conversion](#-the-mysterious-key-type-conversion)
|
+ [▶ The mysterious key type conversion](#-the-mysterious-key-type-conversion)
|
||||||
+ [▶ Let's see if you can guess this?](#-lets-see-if-you-can-guess-this)
|
+ [▶ Let's see if you can guess this?](#-lets-see-if-you-can-guess-this)
|
||||||
* [Section: Appearances are deceptive!](#section-appearances-are-deceptive)
|
|
||||||
+ [▶ Skipping lines?](#-skipping-lines)
|
|
||||||
+ [▶ Teleportation](#-teleportation)
|
|
||||||
+ [▶ Well, something is fishy...](#-well-something-is-fishy)
|
|
||||||
* [Section: Slippery Slopes](#section-slippery-slopes)
|
* [Section: Slippery Slopes](#section-slippery-slopes)
|
||||||
+ [▶ Modifying a dictionary while iterating over it](#-modifying-a-dictionary-while-iterating-over-it)
|
+ [▶ Modifying a dictionary while iterating over it](#-modifying-a-dictionary-while-iterating-over-it)
|
||||||
+ [▶ Stubborn `del` operation](#-stubborn-del-operation)
|
+ [▶ Stubborn `del` operation](#-stubborn-del-operation)
|
||||||
|
+ [▶ The out of scope variable](#-the-out-of-scope-variable)
|
||||||
+ [▶ Deleting a list item while iterating](#-deleting-a-list-item-while-iterating)
|
+ [▶ Deleting a list item while iterating](#-deleting-a-list-item-while-iterating)
|
||||||
|
+ [▶ Lossy zip of iterators *](#-lossy-zip-of-iterators-)
|
||||||
+ [▶ Loop variables leaking out!](#-loop-variables-leaking-out)
|
+ [▶ Loop variables leaking out!](#-loop-variables-leaking-out)
|
||||||
+ [▶ Beware of default mutable arguments!](#-beware-of-default-mutable-arguments)
|
+ [▶ Beware of default mutable arguments!](#-beware-of-default-mutable-arguments)
|
||||||
+ [▶ Catching the Exceptions](#-catching-the-exceptions)
|
+ [▶ Catching the Exceptions](#-catching-the-exceptions)
|
||||||
+ [▶ Same operands, different story!](#-same-operands-different-story)
|
+ [▶ Same operands, different story!](#-same-operands-different-story)
|
||||||
+ [▶ The out of scope variable](#-the-out-of-scope-variable)
|
|
||||||
+ [▶ Be careful with chained operations](#-be-careful-with-chained-operations)
|
+ [▶ Be careful with chained operations](#-be-careful-with-chained-operations)
|
||||||
+ [▶ Name resolution ignoring class scope](#-name-resolution-ignoring-class-scope)
|
+ [▶ Name resolution ignoring class scope](#-name-resolution-ignoring-class-scope)
|
||||||
+ [▶ Needles in a Haystack](#-needles-in-a-haystack)
|
+ [▶ Needles in a Haystack *](#-needles-in-a-haystack-)
|
||||||
+ [▶ Wild imports](#-wild-imports)
|
+ [▶ Splitsies *](#-splitsies-)
|
||||||
* [Section: Read the docs](#section-read-the-docs)
|
+ [▶ Wild imports *](#-wild-imports-)
|
||||||
+ [▶ All sorted?](#-all-sorted)
|
+ [▶ All sorted? *](#-all-sorted-)
|
||||||
+ [▶ All-true-ation](#-all-true-ation)
|
+ [▶ Midnight time doesn't exist?](#-midnight-time-doesnt-exist)
|
||||||
* [Section: The Hidden treasures!](#section-the-hidden-treasures)
|
* [Section: The Hidden treasures!](#section-the-hidden-treasures)
|
||||||
+ [▶ Okay Python, Can you make me fly?](#-okay-python-can-you-make-me-fly)
|
+ [▶ Okay Python, Can you make me fly?](#-okay-python-can-you-make-me-fly)
|
||||||
+ [▶ `goto`, but why?](#-goto-but-why)
|
+ [▶ `goto`, but why?](#-goto-but-why)
|
||||||
@ -84,18 +80,22 @@ So, here we go...
|
|||||||
+ [▶ Let's meet Friendly Language Uncle For Life](#-lets-meet-friendly-language-uncle-for-life)
|
+ [▶ Let's meet Friendly Language Uncle For Life](#-lets-meet-friendly-language-uncle-for-life)
|
||||||
+ [▶ Even Python understands that love is complicated](#-even-python-understands-that-love-is-complicated)
|
+ [▶ Even Python understands that love is complicated](#-even-python-understands-that-love-is-complicated)
|
||||||
+ [▶ Yes, it exists!](#-yes-it-exists)
|
+ [▶ Yes, it exists!](#-yes-it-exists)
|
||||||
+ [▶ Ellipsis](#-ellipsis)
|
+ [▶ Ellipsis *](#-ellipsis-)
|
||||||
+ [▶ Inpinity](#-inpinity)
|
+ [▶ Inpinity](#-inpinity)
|
||||||
+ [▶ Let's mangle](#-lets-mangle)
|
+ [▶ Let's mangle](#-lets-mangle)
|
||||||
|
* [Section: Appearances are deceptive!](#section-appearances-are-deceptive)
|
||||||
|
+ [▶ Skipping lines?](#-skipping-lines)
|
||||||
|
+ [▶ Teleportation](#-teleportation)
|
||||||
|
+ [▶ Well, something is fishy...](#-well-something-is-fishy)
|
||||||
* [Section: Miscellaneous](#section-miscellaneous)
|
* [Section: Miscellaneous](#section-miscellaneous)
|
||||||
+ [▶ `+=` is faster](#--is-faster)
|
+ [▶ `+=` is faster](#--is-faster)
|
||||||
+ [▶ Let's make a giant string!](#-lets-make-a-giant-string)
|
+ [▶ Let's make a giant string!](#-lets-make-a-giant-string)
|
||||||
+ [▶ Minor Ones](#-minor-ones)
|
+ [▶ Minor Ones *](#-minor-ones-)
|
||||||
- [Contributing](#contributing)
|
- [Contributing](#contributing)
|
||||||
- [Acknowledgements](#acknowledgements)
|
- [Acknowledgements](#acknowledgements)
|
||||||
- [🎓 License](#%F0%9F%8E%93-license)
|
- [🎓 License](#-license)
|
||||||
* [Surprise your friends too?](#surprise-your-friends-too)
|
* [Surprise your friends as well!](#surprise-your-friends-as-well)
|
||||||
* [Need a pdf version?](#need-a-pdf-version)
|
* [More content like this?](#more-content-like-this)
|
||||||
|
|
||||||
<!-- tocstop -->
|
<!-- tocstop -->
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user