mirror of
https://github.com/satwikkansal/wtfpython
synced 2024-11-22 11:04:25 +01:00
Update Table Of Contents
This commit is contained in:
parent
d0eea3e006
commit
7bb5bf0e36
110
README.md
110
README.md
@ -22,66 +22,70 @@ So, here ya go...
|
||||
|
||||
- [Structure of the Examples](#structure-of-the-examples)
|
||||
- [Some fancy Title](#some-fancy-title)
|
||||
- [💡 Explanation:](#-explanation)
|
||||
- [💡 Explanation:](#-explanation)
|
||||
- [Usage](#usage)
|
||||
- [👀 Examples](#-examples)
|
||||
- [Midnight time doesn't exist?](#midnight-time-doesnt-exist)
|
||||
- [💡 Explanation:](#-explanation-1)
|
||||
- [`is` is not what it is!](#is-is-not-what-it-is)
|
||||
- [💡 Explanation:](#-explanation-2)
|
||||
- [The function inside loop sticks to the same output](#the-function-inside-loop-sticks-to-the-same-output)
|
||||
- [Explanation](#explanation)
|
||||
- [Loop variables leaking out of local scope!](#loop-variables-leaking-out-of-local-scope)
|
||||
- [💡 Explanation:](#-explanation-3)
|
||||
- [A tic-tac-toe where X wins in first attempt!](#a-tic-tac-toe-where-x-wins-in-first-attempt)
|
||||
- [💡 Explanation:](#-explanation-4)
|
||||
- [Beware of default mutable arguments!](#beware-of-default-mutable-arguments)
|
||||
- [💡 Explanation:](#-explanation-5)
|
||||
- [Mutating the immutable!](#mutating-the-immutable)
|
||||
- [💡 Explanation:](#-explanation-6)
|
||||
- [Using a variable not defined in scope](#using-a-variable-not-defined-in-scope)
|
||||
- [💡 Explanation:](#-explanation-7)
|
||||
- [The disappearing variable from outer scope](#the-disappearing-variable-from-outer-scope)
|
||||
- [💡 Explanation:](#-explanation-8)
|
||||
- [Return return everywhere!](#return-return-everywhere)
|
||||
- [💡 Explanation:](#-explanation-9)
|
||||
- [When True is actually False](#when-true-is-actually-false)
|
||||
- [💡 Explanation:](#-explanation-10)
|
||||
- [Evaluation time disperancy](#evaluation-time-disperancy)
|
||||
- [💡 Explanation](#-explanation)
|
||||
- [Be careful with chained operations](#be-careful-with-chained-operations)
|
||||
- [💡 Explanation:](#-explanation-11)
|
||||
- [a += b doesn't behave the same way as a = a + b](#a--b-doesnt-behave-the-same-way-as-a--a--b)
|
||||
- [💡 Explanation:](#-explanation-12)
|
||||
- [Backslashes at the end of string](#backslashes-at-the-end-of-string)
|
||||
- [Explanation](#explanation-1)
|
||||
- [Editing a dictionary while iterating over it](#editing-a-dictionary-while-iterating-over-it)
|
||||
- [Explanation:](#explanation)
|
||||
- [`is not ...` is different from `is (not ...)`](#is-not--is-different-from-is-not-)
|
||||
- [Explanation](#explanation-2)
|
||||
- [Time for some hash brownies!](#time-for-some-hash-brownies)
|
||||
- [Explanation](#explanation-3)
|
||||
- [Skipping lines?](#skipping-lines)
|
||||
- [Explanation](#explanation-4)
|
||||
- [Name resolution ignoring class scope](#name-resolution-ignoring-class-scope)
|
||||
- [💡 Explanation](#-explanation-1)
|
||||
- [From filled to None in one instruction...](#from-filled-to-none-in-one-instruction)
|
||||
- [💡 Explanation](#-explanation-2)
|
||||
- [Deleting a list item while iterating over it](#deleting-a-list-item-while-iterating-over-it)
|
||||
- [💡 Explanation:](#-explanation-13)
|
||||
- [Explicit typecast of strings](#explicit-typecast-of-strings)
|
||||
- [💡 Explanation:](#-explanation-14)
|
||||
- [Explanation](#explanation)
|
||||
- [Well, something is fishy...](#well-something-is-fishy)
|
||||
- [Explanation](#explanation-5)
|
||||
- [Explanation](#explanation-1)
|
||||
- [Time for some hash brownies!](#time-for-some-hash-brownies)
|
||||
- [Explanation](#explanation-2)
|
||||
- [Evaluation time disperancy](#evaluation-time-disperancy)
|
||||
- [💡 Explanation](#-explanation)
|
||||
- [Modifying a dictionary while iterating over it](#modifying-a-dictionary-while-iterating-over-it)
|
||||
- [Explanation:](#explanation)
|
||||
- [Deleting a list item while iterating over it](#deleting-a-list-item-while-iterating-over-it)
|
||||
- [💡 Explanation:](#-explanation-1)
|
||||
- [Backslashes at the end of string](#backslashes-at-the-end-of-string)
|
||||
- [Explanation](#explanation-3)
|
||||
- [Let's make a giant string!](#lets-make-a-giant-string)
|
||||
- [Explanation](#explanation-4)
|
||||
- [String concatenation interpreter optimizations.](#string-concatenation-interpreter-optimizations)
|
||||
- [💡 Explanation:](#-explanation-2)
|
||||
- [Yes, it exists!](#yes-it-exists)
|
||||
- [💡 Explanation:](#-explanation-3)
|
||||
- [`is` is not what it is!](#is-is-not-what-it-is)
|
||||
- [💡 Explanation:](#-explanation-4)
|
||||
- [`is not ...` is different from `is (not ...)`](#is-not--is-different-from-is-not-)
|
||||
- [Explanation](#explanation-5)
|
||||
- [The function inside loop sticks to the same output](#the-function-inside-loop-sticks-to-the-same-output)
|
||||
- [Explanation](#explanation-6)
|
||||
- [Loop variables leaking out of local scope!](#loop-variables-leaking-out-of-local-scope)
|
||||
- [💡 Explanation:](#-explanation-5)
|
||||
- [A tic-tac-toe where X wins in the first attempt!](#a-tic-tac-toe-where-x-wins-in-the-first-attempt)
|
||||
- [💡 Explanation:](#-explanation-6)
|
||||
- [Beware of default mutable arguments!](#beware-of-default-mutable-arguments)
|
||||
- [💡 Explanation:](#-explanation-7)
|
||||
- [Mutating the immutable!](#mutating-the-immutable)
|
||||
- [💡 Explanation:](#-explanation-8)
|
||||
- [Using a variable not defined in scope](#using-a-variable-not-defined-in-scope)
|
||||
- [💡 Explanation:](#-explanation-9)
|
||||
- [The disappearing variable from outer scope](#the-disappearing-variable-from-outer-scope)
|
||||
- [💡 Explanation:](#-explanation-10)
|
||||
- [Return return everywhere!](#return-return-everywhere)
|
||||
- [💡 Explanation:](#-explanation-11)
|
||||
- [When True is actually False](#when-true-is-actually-false)
|
||||
- [💡 Explanation:](#-explanation-12)
|
||||
- [Be careful with chained operations](#be-careful-with-chained-operations)
|
||||
- [💡 Explanation:](#-explanation-13)
|
||||
- [a += b doesn't behave the same way as a = a + b](#a--b-doesnt-behave-the-same-way-as-a--a--b)
|
||||
- [💡 Explanation:](#-explanation-14)
|
||||
- [Name resolution ignoring class scope](#name-resolution-ignoring-class-scope)
|
||||
- [💡 Explanation](#-explanation-1)
|
||||
- [From filled to None in one instruction...](#from-filled-to-none-in-one-instruction)
|
||||
- [💡 Explanation](#-explanation-2)
|
||||
- [Explicit typecast of strings](#explicit-typecast-of-strings)
|
||||
- [💡 Explanation:](#-explanation-15)
|
||||
- [Class attributes and instance attributes](#class-attributes-and-instance-attributes)
|
||||
- [Explanation:](#explanation-1)
|
||||
- [Explanation:](#explanation-1)
|
||||
- [Catching the Exceptions!](#catching-the-exceptions)
|
||||
- [Explanation](#explanation-6)
|
||||
- [String concatenation](#string-concatenation)
|
||||
- [Explanination](#explanination)
|
||||
- [Minor Ones](#minor-ones)
|
||||
- [Explanation](#explanation-7)
|
||||
- [Midnight time doesn't exist?](#midnight-time-doesnt-exist)
|
||||
- [💡 Explanation:](#-explanation-16)
|
||||
- [Needle in a Haystack](#needle-in-a-haystack)
|
||||
- [💡 Explanation:](#-explanation-15)
|
||||
- [💡 Explanation:](#-explanation-17)
|
||||
- [Minor Ones](#minor-ones)
|
||||
- [TODO: Hell of an example!](#todo-hell-of-an-example)
|
||||
- [Contributing](#contributing)
|
||||
- [Acknowledgements](#acknowledgements)
|
||||
|
Loading…
Reference in New Issue
Block a user