mirror of
https://github.com/satwikkansal/wtfpython.git
synced 2024-09-11 20:17:08 +03: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
|
||||
|
||||
<!-- Generated using "markdown-toc -i README.md --maxdepth 3"-->
|
||||
|
||||
<!-- toc -->
|
||||
|
||||
- [Structure of the Examples](#structure-of-the-examples)
|
||||
@ -26,57 +27,52 @@ So, here we go...
|
||||
- [Usage](#usage)
|
||||
- [👀 Examples](#-examples)
|
||||
* [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)
|
||||
+ [▶ Splitsies](#-splitsies)
|
||||
+ [▶ 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)
|
||||
+ [▶ Disorder within order *](#-disorder-within-order-)
|
||||
+ [▶ Keep trying... *](#-keep-trying-)
|
||||
+ [▶ For what?](#-for-what)
|
||||
+ [▶ Evaluation time discrepancy](#-evaluation-time-discrepancy)
|
||||
+ [▶ 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)
|
||||
+ [▶ The sticky output function](#-the-sticky-output-function)
|
||||
+ [▶ The chicken-egg problem](#-the-chicken-egg-problem)
|
||||
+ [▶ `is not ...` is not `is (not ...)`](#-is-not--is-not-is-not-)
|
||||
+ [▶ The chicken-egg problem *](#-the-chicken-egg-problem-)
|
||||
+ [▶ Subclass relationships](#-subclass-relationships)
|
||||
+ [▶ All-true-ation *](#-all-true-ation-)
|
||||
+ [▶ The surprising comma](#-the-surprising-comma)
|
||||
+ [▶ Strings and the backslashes](#-strings-and-the-backslashes)
|
||||
+ [▶ not knot!](#-not-knot)
|
||||
+ [▶ 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)
|
||||
+ [▶ 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)
|
||||
+ [▶ Nan-reflexivity](#-nan-reflexivity)
|
||||
+ [▶ Yielding from... return! *](#-yielding-from-return-)
|
||||
+ [▶ Nan-reflexivity *](#-nan-reflexivity-)
|
||||
+ [▶ Mutating the immutable!](#-mutating-the-immutable)
|
||||
+ [▶ 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)
|
||||
+ [▶ 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)
|
||||
+ [▶ Modifying a dictionary while iterating over it](#-modifying-a-dictionary-while-iterating-over-it)
|
||||
+ [▶ 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)
|
||||
+ [▶ Lossy zip of iterators *](#-lossy-zip-of-iterators-)
|
||||
+ [▶ Loop variables leaking out!](#-loop-variables-leaking-out)
|
||||
+ [▶ Beware of default mutable arguments!](#-beware-of-default-mutable-arguments)
|
||||
+ [▶ Catching the Exceptions](#-catching-the-exceptions)
|
||||
+ [▶ 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)
|
||||
+ [▶ Name resolution ignoring class scope](#-name-resolution-ignoring-class-scope)
|
||||
+ [▶ Needles in a Haystack](#-needles-in-a-haystack)
|
||||
+ [▶ Wild imports](#-wild-imports)
|
||||
* [Section: Read the docs](#section-read-the-docs)
|
||||
+ [▶ All sorted?](#-all-sorted)
|
||||
+ [▶ All-true-ation](#-all-true-ation)
|
||||
+ [▶ Needles in a Haystack *](#-needles-in-a-haystack-)
|
||||
+ [▶ Splitsies *](#-splitsies-)
|
||||
+ [▶ Wild imports *](#-wild-imports-)
|
||||
+ [▶ All sorted? *](#-all-sorted-)
|
||||
+ [▶ Midnight time doesn't exist?](#-midnight-time-doesnt-exist)
|
||||
* [Section: The Hidden treasures!](#section-the-hidden-treasures)
|
||||
+ [▶ Okay Python, Can you make me fly?](#-okay-python-can-you-make-me-fly)
|
||||
+ [▶ `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)
|
||||
+ [▶ Even Python understands that love is complicated](#-even-python-understands-that-love-is-complicated)
|
||||
+ [▶ Yes, it exists!](#-yes-it-exists)
|
||||
+ [▶ Ellipsis](#-ellipsis)
|
||||
+ [▶ Ellipsis *](#-ellipsis-)
|
||||
+ [▶ Inpinity](#-inpinity)
|
||||
+ [▶ 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)
|
||||
+ [▶ `+=` is faster](#--is-faster)
|
||||
+ [▶ Let's make a giant string!](#-lets-make-a-giant-string)
|
||||
+ [▶ Minor Ones](#-minor-ones)
|
||||
+ [▶ Minor Ones *](#-minor-ones-)
|
||||
- [Contributing](#contributing)
|
||||
- [Acknowledgements](#acknowledgements)
|
||||
- [🎓 License](#%F0%9F%8E%93-license)
|
||||
* [Surprise your friends too?](#surprise-your-friends-too)
|
||||
* [Need a pdf version?](#need-a-pdf-version)
|
||||
- [🎓 License](#-license)
|
||||
* [Surprise your friends as well!](#surprise-your-friends-as-well)
|
||||
* [More content like this?](#more-content-like-this)
|
||||
|
||||
<!-- tocstop -->
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user