Skip to content

Commit 12b2fc0

Browse files
committed
Fix TOC and links
1 parent 1b1a5bc commit 12b2fc0

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

README.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -19,83 +19,83 @@ So, here we go...
1919
# Table of Contents
2020

2121
<!-- Generated using "markdown-toc -i README.md --maxdepth 3"-->
22+
2223
<!-- toc -->
2324

2425
- [Structure of the Examples](#structure-of-the-examples)
2526
+ [▶ Some fancy Title](#-some-fancy-title)
2627
- [Usage](#usage)
2728
- [👀 Examples](#-examples)
2829
* [Section: Strain your brain!](#section-strain-your-brain)
29-
+ [▶ First things first!](#-first-things-first)
30+
+ [▶ First things first! *](#-first-things-first-)
3031
+ [▶ Strings can be tricky sometimes](#-strings-can-be-tricky-sometimes)
31-
+ [▶ Splitsies](#-splitsies)
3232
+ [▶ Hash brownies](#-hash-brownies)
33-
+ [▶ Disorder within order](#-disorder-within-order)
34-
+ [▶ Keep trying...](#-keep-trying)
3533
+ [▶ Deep down, we're all the same.](#-deep-down-were-all-the-same)
34+
+ [▶ Disorder within order *](#-disorder-within-order-)
35+
+ [▶ Keep trying... *](#-keep-trying-)
3636
+ [▶ For what?](#-for-what)
3737
+ [▶ Evaluation time discrepancy](#-evaluation-time-discrepancy)
3838
+ [▶ How not to use `is` operator](#-how-not-to-use-is-operator)
39+
+ [`is not ...` is not `is (not ...)`](#-is-not--is-not-is-not-)
3940
+ [▶ A tic-tac-toe where X wins in the first attempt!](#-a-tic-tac-toe-where-x-wins-in-the-first-attempt)
4041
+ [▶ The sticky output function](#-the-sticky-output-function)
41-
+ [▶ The chicken-egg problem](#-the-chicken-egg-problem)
42-
+ [`is not ...` is not `is (not ...)`](#-is-not--is-not-is-not-)
42+
+ [▶ The chicken-egg problem *](#-the-chicken-egg-problem-)
43+
+ [▶ Subclass relationships](#-subclass-relationships)
44+
+ [▶ All-true-ation *](#-all-true-ation-)
4345
+ [▶ The surprising comma](#-the-surprising-comma)
4446
+ [▶ Strings and the backslashes](#-strings-and-the-backslashes)
4547
+ [▶ not knot!](#-not-knot)
4648
+ [▶ Half triple-quoted strings](#-half-triple-quoted-strings)
47-
+ [▶ Midnight time doesn't exist?](#-midnight-time-doesnt-exist)
4849
+ [▶ What's wrong with booleans?](#-whats-wrong-with-booleans)
4950
+ [▶ Class attributes and instance attributes](#-class-attributes-and-instance-attributes)
50-
+ [▶ Non-reflexive class method](#-non-reflexive-class-method)
51+
+ [▶ Non-reflexive class method *](#-non-reflexive-class-method-)
5152
+ [▶ yielding None](#-yielding-none)
52-
+ [▶ Nan-reflexivity](#-nan-reflexivity)
53+
+ [▶ Yielding from... return! *](#-yielding-from-return-)
54+
+ [▶ Nan-reflexivity *](#-nan-reflexivity-)
5355
+ [▶ Mutating the immutable!](#-mutating-the-immutable)
5456
+ [▶ The disappearing variable from outer scope](#-the-disappearing-variable-from-outer-scope)
55-
+ [▶ Yielding from... return!](#-yielding-from-return)
56-
+ [▶ Lossy zip of iterators](#-lossy-zip-of-iterators)
57-
+ [▶ Subclass relationships](#-subclass-relationships)
5857
+ [▶ The mysterious key type conversion](#-the-mysterious-key-type-conversion)
5958
+ [▶ Let's see if you can guess this?](#-lets-see-if-you-can-guess-this)
60-
* [Section: Appearances are deceptive!](#section-appearances-are-deceptive)
61-
+ [▶ Skipping lines?](#-skipping-lines)
62-
+ [▶ Teleportation](#-teleportation)
63-
+ [▶ Well, something is fishy...](#-well-something-is-fishy)
6459
* [Section: Slippery Slopes](#section-slippery-slopes)
6560
+ [▶ Modifying a dictionary while iterating over it](#-modifying-a-dictionary-while-iterating-over-it)
6661
+ [▶ Stubborn `del` operation](#-stubborn-del-operation)
62+
+ [▶ The out of scope variable](#-the-out-of-scope-variable)
6763
+ [▶ Deleting a list item while iterating](#-deleting-a-list-item-while-iterating)
64+
+ [▶ Lossy zip of iterators *](#-lossy-zip-of-iterators-)
6865
+ [▶ Loop variables leaking out!](#-loop-variables-leaking-out)
6966
+ [▶ Beware of default mutable arguments!](#-beware-of-default-mutable-arguments)
7067
+ [▶ Catching the Exceptions](#-catching-the-exceptions)
7168
+ [▶ Same operands, different story!](#-same-operands-different-story)
72-
+ [▶ The out of scope variable](#-the-out-of-scope-variable)
7369
+ [▶ Be careful with chained operations](#-be-careful-with-chained-operations)
7470
+ [▶ Name resolution ignoring class scope](#-name-resolution-ignoring-class-scope)
75-
+ [▶ Needles in a Haystack](#-needles-in-a-haystack)
76-
+ [Wild imports](#-wild-imports)
77-
* [Section: Read the docs](#section-read-the-docs)
78-
+ [▶ All sorted?](#-all-sorted)
79-
+ [All-true-ation](#-all-true-ation)
71+
+ [▶ Needles in a Haystack *](#-needles-in-a-haystack-)
72+
+ [Splitsies *](#-splitsies-)
73+
+ [▶ Wild imports *](#-wild-imports-)
74+
+ [▶ All sorted? *](#-all-sorted-)
75+
+ [Midnight time doesn't exist?](#-midnight-time-doesnt-exist)
8076
* [Section: The Hidden treasures!](#section-the-hidden-treasures)
8177
+ [▶ Okay Python, Can you make me fly?](#-okay-python-can-you-make-me-fly)
8278
+ [`goto`, but why?](#-goto-but-why)
8379
+ [▶ Brace yourself!](#-brace-yourself)
8480
+ [▶ Let's meet Friendly Language Uncle For Life](#-lets-meet-friendly-language-uncle-for-life)
8581
+ [▶ Even Python understands that love is complicated](#-even-python-understands-that-love-is-complicated)
8682
+ [▶ Yes, it exists!](#-yes-it-exists)
87-
+ [▶ Ellipsis](#-ellipsis)
83+
+ [▶ Ellipsis *](#-ellipsis-)
8884
+ [▶ Inpinity](#-inpinity)
8985
+ [▶ Let's mangle](#-lets-mangle)
86+
* [Section: Appearances are deceptive!](#section-appearances-are-deceptive)
87+
+ [▶ Skipping lines?](#-skipping-lines)
88+
+ [▶ Teleportation](#-teleportation)
89+
+ [▶ Well, something is fishy...](#-well-something-is-fishy)
9090
* [Section: Miscellaneous](#section-miscellaneous)
9191
+ [`+=` is faster](#--is-faster)
9292
+ [▶ Let's make a giant string!](#-lets-make-a-giant-string)
93-
+ [▶ Minor Ones](#-minor-ones)
93+
+ [▶ Minor Ones *](#-minor-ones-)
9494
- [Contributing](#contributing)
9595
- [Acknowledgements](#acknowledgements)
96-
- [🎓 License](#%F0%9F%8E%93-license)
97-
* [Surprise your friends too?](#surprise-your-friends-too)
98-
* [Need a pdf version?](#need-a-pdf-version)
96+
- [🎓 License](#-license)
97+
* [Surprise your friends as well!](#surprise-your-friends-as-well)
98+
* [More content like this?](#more-content-like-this)
9999

100100
<!-- tocstop -->
101101

@@ -3508,7 +3508,7 @@ The idea and design for this collection were initially inspired by Denys Dovhan'
35083508
35093509
If you like wtfpython, you can use these quick links to share it with your friends,
35103510
3511-
[Twitter](https://twitter.com/intent/tweet?url=https://github.com/satwikkansal/wtfpython&text=If%20you%20really%20think%20you%20know%20Python,%20think%20once%20more!%20Check%20out%20wtfpython&hastags=python,wtfpython) | [Linkedin](https://www.linkedin.com/shareArticle?url=https://github.com/satwikkansal&title=What%20the%20f*ck%20Python!&summary=If%20you%20really%20thing%20you%20know%20Python,%20think%20once%20more!) | [Facebook](https://www.facebook.com/dialog/share?app_id=536779657179021&display=page&href=https%3A%2F%2Fgithub.com%2Fsatwikkansal%2Fwtfpython&quote=If%20you%20really%20think%20you%20know%20Python%2C%20think%20once%20more!)
3511+
[Twitter](https://twitter.com/intent/tweet?url=https://github.com/satwikkansal/wtfpython&text=If%20you%20really%20think%20you%20know%20Python,%20think%20once%20more!%20Check%20out%20wtfpython&hastags=python,wtfpython) | [Linkedin](https://www.linkedin.com/shareArticle?url=https://github.com/satwikkansal&title=What%20the%20f*ck%20Python!&summary=If%20you%20really%20thing%20you%20know%20Python,%20think%20once%20more!) | [Facebook](https://www.facebook.com/dialog/share?app_id=536779657179021&display=page&href=https%3A%2F%2Fgithub.com%2Fsatwikkansal%2Fwtfpython&quote=If%20you%20really%20think%20you%20know%20Python%2C%20think%20once%20more!)
35123512
35133513
## More content like this?
35143514

0 commit comments

Comments
 (0)