1
0
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:
Satwik Kansal 2017-08-30 16:51:15 +05:30
parent f0c254b106
commit cf2fbe4d5c

View File

@ -19,10 +19,8 @@ So, here ya go...
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [👀 Examples](#-examples)
- [Example heading](#example-heading)
- [Structure of the Examples](#structure-of-the-examples)
- [Explanation:](#explanation)
- [`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)
- [Explanation](#explanation)
- [`is` is not what it is!](#is-is-not-what-it-is)
- [💡 Explanation:](#-explanation)
@ -44,6 +42,8 @@ So, here ya go...
- [Explanation](#explanation-7)
- [When True is actually False](#when-true-is-actually-false)
- [Explanation](#explanation-8)
- [Evaluation time disperancy](#evaluation-time-disperancy)
- [Explainiation](#explainiation)
- [The GIL messes it up (Multithreading vs Mutliprogramming example)](#the-gil-messes-it-up-multithreading-vs-mutliprogramming-example)
- [Be careful with chained comparisons](#be-careful-with-chained-comparisons)
- [Explanation](#explanation-9)
@ -53,10 +53,33 @@ So, here ya go...
- [Explaination](#explaination-1)
- [Editing a dictionary while iterating over it](#editing-a-dictionary-while-iterating-over-it)
- [Explaination:](#explaination)
- [Minor ones](#minor-ones)
- [`is not ...` is different from `is (not ...)`](#is-not--is-different-from-is-not-)
- [Explaination](#explaination-2)
- [Time for some hash brownies!](#time-for-some-hash-brownies)
- [Explaination](#explaination-3)
- [Identical looking names](#identical-looking-names)
- [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)
- [Deleting a list item while iterating over it](#deleting-a-list-item-while-iterating-over-it)
- [Explanation](#explanation-11)
- [Explicit typecast of strings](#explicit-typecast-of-strings)
- [Explanation](#explanation-12)
- [Well, something is fishy...](#well-something-is-fishy)
- [Explaination](#explaination-7)
- [Class attributes and instance attributes](#class-attributes-and-instance-attributes)
- [Explaination:](#explaination-1)
- [Catching the Exceptions!](#catching-the-exceptions)
- [Explaination](#explaination-8)
- [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)
- [Explanation](#explanation-11)
- [Explanation](#explanation-13)
- [TODO: Hell of an example!](#todo-hell-of-an-example)
- [Contributing](#contributing)
- [Acknowledgements](#acknowledgements)
- [Some nice Links!](#some-nice-links)