mirror of
https://github.com/satwikkansal/wtfpython
synced 2024-11-22 02:54:25 +01:00
Update table of contents
This commit is contained in:
parent
3d8bc2cdd6
commit
69da562140
60
README.md
60
README.md
@ -22,37 +22,37 @@ So, here ya go...
|
||||
|
||||
- [Structure of the Examples](#structure-of-the-examples)
|
||||
- [Some fancy Title](#some-fancy-title)
|
||||
- [💡 Explaination:](#-Explaination)
|
||||
- [💡 Explaination:](#-explaination)
|
||||
- [Usage](#usage)
|
||||
- [👀 Examples](#-examples)
|
||||
- [`datetime.time` object is considered to be false if it represented midnight in UTC](#datetimetime-object-is-considered-to-be-false-if-it-represented-midnight-in-utc)
|
||||
- [💡 Explaination:](#-Explaination-1)
|
||||
- [Midnight time doesn't exist?](#midnight-time-doesnt-exist)
|
||||
- [💡 Explaination:](#-explaination-1)
|
||||
- [`is` is not what it is!](#is-is-not-what-it-is)
|
||||
- [💡 Explaination:](#-Explaination-2)
|
||||
- [The function inside loop magic](#the-function-inside-loop-magic)
|
||||
- [💡 Explaination:](#-explaination-2)
|
||||
- [The function inside loop sticks to the same output](#the-function-inside-loop-sticks-to-the-same-output)
|
||||
- [Explaination](#explaination)
|
||||
- [Loop variables leaking out of local scope!](#loop-variables-leaking-out-of-local-scope)
|
||||
- [💡 Explaination:](#-Explaination-3)
|
||||
- [💡 Explaination:](#-explaination-3)
|
||||
- [A tic-tac-toe where X wins in first attempt!](#a-tic-tac-toe-where-x-wins-in-first-attempt)
|
||||
- [💡 Explaination:](#-Explaination-4)
|
||||
- [💡 Explaination:](#-explaination-4)
|
||||
- [Beware of default mutable arguments!](#beware-of-default-mutable-arguments)
|
||||
- [💡 Explaination:](#-Explaination-5)
|
||||
- [You can't change the values contained in tuples because they're immutable.. Oh really?](#you-cant-change-the-values-contained-in-tuples-because-theyre-immutable-oh-really)
|
||||
- [💡 Explaination:](#-Explaination-6)
|
||||
- [Using a varibale not defined in scope](#using-a-varibale-not-defined-in-scope)
|
||||
- [💡 Explaination:](#-Explaination-7)
|
||||
- [💡 Explaination:](#-explaination-5)
|
||||
- [Mutating the immutable!](#mutating-the-immutable)
|
||||
- [💡 Explaination:](#-explaination-6)
|
||||
- [Using a variable not defined in scope](#using-a-variable-not-defined-in-scope)
|
||||
- [💡 Explaination:](#-explaination-7)
|
||||
- [The disappearing variable from outer scope](#the-disappearing-variable-from-outer-scope)
|
||||
- [💡 Explaination:](#-Explaination-8)
|
||||
- [Return in both `try` and `finally` clauses](#return-in-both-try-and-finally-clauses)
|
||||
- [💡 Explaination:](#-Explaination-9)
|
||||
- [💡 Explaination:](#-explaination-8)
|
||||
- [Return return everywhere!](#return-return-everywhere)
|
||||
- [💡 Explaination:](#-explaination-9)
|
||||
- [When True is actually False](#when-true-is-actually-false)
|
||||
- [💡 Explaination:](#-Explaination-10)
|
||||
- [💡 Explaination:](#-explaination-10)
|
||||
- [Evaluation time disperancy](#evaluation-time-disperancy)
|
||||
- [Explainiation](#explainiation)
|
||||
- [💡 Explaination](#-explaination)
|
||||
- [Be careful with chained operations](#be-careful-with-chained-operations)
|
||||
- [💡 Explaination:](#-Explaination-11)
|
||||
- [💡 Explaination:](#-explaination-11)
|
||||
- [a += b doesn't behave the same way as a = a + b](#a--b-doesnt-behave-the-same-way-as-a--a--b)
|
||||
- [💡 Explaination:](#-Explaination-12)
|
||||
- [💡 Explaination:](#-explaination-12)
|
||||
- [Backslashes at the end of string](#backslashes-at-the-end-of-string)
|
||||
- [Explaination](#explaination-1)
|
||||
- [Editing a dictionary while iterating over it](#editing-a-dictionary-while-iterating-over-it)
|
||||
@ -61,29 +61,27 @@ So, here ya go...
|
||||
- [Explaination](#explaination-2)
|
||||
- [Time for some hash brownies!](#time-for-some-hash-brownies)
|
||||
- [Explaination](#explaination-3)
|
||||
- [Identical looking names](#identical-looking-names)
|
||||
- [Skipping lines?](#skipping-lines)
|
||||
- [Explaination](#explaination-4)
|
||||
- [Name resolution ignoring class scope](#name-resolution-ignoring-class-scope)
|
||||
- [Explaination](#explaination-5)
|
||||
- [In-place update functions of mutable object types](#in-place-update-functions-of-mutable-object-types)
|
||||
- [Explaination](#explaination-6)
|
||||
- [💡 Explaination](#-explaination-1)
|
||||
- [From filled to None in one instruction...](#from-filled-to-none-in-one-instruction)
|
||||
- [💡 Explaination](#-explaination-2)
|
||||
- [Deleting a list item while iterating over it](#deleting-a-list-item-while-iterating-over-it)
|
||||
- [💡 Explaination:](#-Explaination-13)
|
||||
- [💡 Explaination:](#-explaination-13)
|
||||
- [Explicit typecast of strings](#explicit-typecast-of-strings)
|
||||
- [💡 Explaination:](#-Explaination-14)
|
||||
- [💡 Explaination:](#-explaination-14)
|
||||
- [Well, something is fishy...](#well-something-is-fishy)
|
||||
- [Explaination](#explaination-7)
|
||||
- [Explaination](#explaination-5)
|
||||
- [Class attributes and instance attributes](#class-attributes-and-instance-attributes)
|
||||
- [Explaination:](#explaination-1)
|
||||
- [Catching the Exceptions!](#catching-the-exceptions)
|
||||
- [Explaination](#explaination-8)
|
||||
- [Explaination](#explaination-6)
|
||||
- [String concatenation](#string-concatenation)
|
||||
- [Explanination](#explanination)
|
||||
- [Minor Ones](#minor-ones)
|
||||
- ["Needle in a Haystack" bugs](#needle-in-a-haystack-bugs)
|
||||
- [Initializing a tuple containing single element](#initializing-a-tuple-containing-single-element)
|
||||
- [💡 Explaination:](#-Explaination-15)
|
||||
- [TODO: Collect and add more such examples](#todo-collect-and-add-more-such-examples)
|
||||
- [Needle in a Haystack](#needle-in-a-haystack)
|
||||
- [💡 Explaination:](#-explaination-15)
|
||||
- [TODO: Hell of an example!](#todo-hell-of-an-example)
|
||||
- [Contributing](#contributing)
|
||||
- [Acknowledgements](#acknowledgements)
|
||||
|
Loading…
Reference in New Issue
Block a user