1
0
mirror of https://github.com/satwikkansal/wtfpython synced 2024-05-30 09:58:05 +02:00

Add gitter channel information and update TOC

Closes https://github.com/satwikkansal/wtfpython/issues/43
This commit is contained in:
Satwik Kansal 2017-10-11 15:55:32 +05:30
parent 27d54269bf
commit 2fff92ca56

56
README.md vendored
View File

@ -19,8 +19,6 @@ So, here ya go...
<!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
- [Structure of the Examples](#structure-of-the-examples) - [Structure of the Examples](#structure-of-the-examples)
- [Some fancy Title](#some-fancy-title)
- [💡 Explanation:](#-explanation)
- [Usage](#usage) - [Usage](#usage)
- [👀 Examples](#-examples) - [👀 Examples](#-examples)
- [Skipping lines?](#skipping-lines) - [Skipping lines?](#skipping-lines)
@ -32,67 +30,67 @@ So, here ya go...
- [Evaluation time discrepancy](#evaluation-time-discrepancy) - [Evaluation time discrepancy](#evaluation-time-discrepancy)
- [💡 Explanation](#-explanation-3) - [💡 Explanation](#-explanation-3)
- [Modifying a dictionary while iterating over it](#modifying-a-dictionary-while-iterating-over-it) - [Modifying a dictionary while iterating over it](#modifying-a-dictionary-while-iterating-over-it)
- [💡 Explanation:](#-explanation-1) - [💡 Explanation:](#-explanation)
- [Deleting a list item while iterating over it](#deleting-a-list-item-while-iterating-over-it) - [Deleting a list item while iterating over it](#deleting-a-list-item-while-iterating-over-it)
- [💡 Explanation:](#-explanation-2) - [💡 Explanation:](#-explanation-1)
- [Backslashes at the end of string](#backslashes-at-the-end-of-string) - [Backslashes at the end of string](#backslashes-at-the-end-of-string)
- [💡 Explanation](#-explanation-4) - [💡 Explanation](#-explanation-4)
- [Let's make a giant string!](#lets-make-a-giant-string) - [Let's make a giant string!](#lets-make-a-giant-string)
- [💡 Explanation](#-explanation-5) - [💡 Explanation](#-explanation-5)
- [String concatenation interpreter optimizations.](#string-concatenation-interpreter-optimizations) - [String interning](#string-interning)
- [💡 Explanation:](#-explanation-3) - [💡 Explanation:](#-explanation-2)
- [Yes, it exists!](#yes-it-exists) - [Yes, it exists!](#yes-it-exists)
- [💡 Explanation:](#-explanation-4) - [💡 Explanation:](#-explanation-3)
- [`is` is not what it is!](#is-is-not-what-it-is) - [`is` is not what it is!](#is-is-not-what-it-is)
- [💡 Explanation:](#-explanation-5) - [💡 Explanation:](#-explanation-4)
- [`is not ...` is not `is (not ...)`](#is-not--is-not-is-not-) - [`is not ...` is not `is (not ...)`](#is-not--is-not-is-not-)
- [💡 Explanation](#-explanation-6) - [💡 Explanation](#-explanation-6)
- [The function inside loop sticks to the same output](#the-function-inside-loop-sticks-to-the-same-output) - [The function inside loop sticks to the same output](#the-function-inside-loop-sticks-to-the-same-output)
- [💡 Explanation](#-explanation-7) - [💡 Explanation](#-explanation-7)
- [Loop variables leaking out of local scope!](#loop-variables-leaking-out-of-local-scope) - [Loop variables leaking out of local scope!](#loop-variables-leaking-out-of-local-scope)
- [💡 Explanation:](#-explanation-6) - [💡 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) - [A tic-tac-toe where X wins in the first attempt!](#a-tic-tac-toe-where-x-wins-in-the-first-attempt)
- [💡 Explanation:](#-explanation-7) - [💡 Explanation:](#-explanation-6)
- [Beware of default mutable arguments!](#beware-of-default-mutable-arguments) - [Beware of default mutable arguments!](#beware-of-default-mutable-arguments)
- [💡 Explanation:](#-explanation-8) - [💡 Explanation:](#-explanation-7)
- [Same operands, different story!](#same-operands-different-story) - [Same operands, different story!](#same-operands-different-story)
- [💡 Explanation:](#-explanation-9) - [💡 Explanation:](#-explanation-8)
- [Mutating the immutable!](#mutating-the-immutable) - [Mutating the immutable!](#mutating-the-immutable)
- [💡 Explanation:](#-explanation-10) - [💡 Explanation:](#-explanation-9)
- [Using a variable not defined in scope](#using-a-variable-not-defined-in-scope) - [Using a variable not defined in scope](#using-a-variable-not-defined-in-scope)
- [💡 Explanation:](#-explanation-11) - [💡 Explanation:](#-explanation-10)
- [The disappearing variable from outer scope](#the-disappearing-variable-from-outer-scope) - [The disappearing variable from outer scope](#the-disappearing-variable-from-outer-scope)
- [💡 Explanation:](#-explanation-12) - [💡 Explanation:](#-explanation-11)
- [Return return everywhere!](#return-return-everywhere) - [Return return everywhere!](#return-return-everywhere)
- [💡 Explanation:](#-explanation-13) - [💡 Explanation:](#-explanation-12)
- [When True is actually False](#when-true-is-actually-false) - [When True is actually False](#when-true-is-actually-false)
- [💡 Explanation:](#-explanation-14) - [💡 Explanation:](#-explanation-13)
- [Be careful with chained operations](#be-careful-with-chained-operations) - [Be careful with chained operations](#be-careful-with-chained-operations)
- [💡 Explanation:](#-explanation-15) - [💡 Explanation:](#-explanation-14)
- [Name resolution ignoring class scope](#name-resolution-ignoring-class-scope) - [Name resolution ignoring class scope](#name-resolution-ignoring-class-scope)
- [💡 Explanation](#-explanation-8) - [💡 Explanation](#-explanation-8)
- [From filled to None in one instruction...](#from-filled-to-none-in-one-instruction) - [From filled to None in one instruction...](#from-filled-to-none-in-one-instruction)
- [💡 Explanation](#-explanation-9) - [💡 Explanation](#-explanation-9)
- [Explicit typecast of strings](#explicit-typecast-of-strings) - [Explicit typecast of strings](#explicit-typecast-of-strings)
- [💡 Explanation:](#-explanation-16) - [💡 Explanation:](#-explanation-15)
- [Class attributes and instance attributes](#class-attributes-and-instance-attributes) - [Class attributes and instance attributes](#class-attributes-and-instance-attributes)
- [💡 Explanation:](#-explanation-17) - [💡 Explanation:](#-explanation-16)
- [Catching the Exceptions!](#catching-the-exceptions) - [Catching the Exceptions!](#catching-the-exceptions)
- [💡 Explanation](#-explanation-10) - [💡 Explanation](#-explanation-10)
- [Midnight time doesn't exist?](#midnight-time-doesnt-exist) - [Midnight time doesn't exist?](#midnight-time-doesnt-exist)
- [💡 Explanation:](#-explanation-18) - [💡 Explanation:](#-explanation-17)
- [What's wrong with booleans?](#whats-wrong-with-booleans) - [What's wrong with booleans?](#whats-wrong-with-booleans)
- [💡 Explanation:](#-explanation-19) - [💡 Explanation:](#-explanation-18)
- [Needle in a Haystack](#needle-in-a-haystack) - [Needle in a Haystack](#needle-in-a-haystack)
- [💡 Explanation:](#-explanation-20) - [💡 Explanation:](#-explanation-19)
- [The surprising comma](#the-surprising-comma) - [The surprising comma](#the-surprising-comma)
- [💡 Explanation:](#-explanation-21) - [💡 Explanation:](#-explanation-20)
- [For what?](#for-what) - [For what?](#for-what)
- [💡 Explanation:](#-explanation-22) - [💡 Explanation:](#-explanation-21)
- [not knot!](#not-knot) - [not knot!](#not-knot)
- [💡 Explanation:](#-explanation-23) - [💡 Explanation:](#-explanation-22)
- [Let's see if you can guess this?](#lets-see-if-you-can-guess-this) - [Let's see if you can guess this?](#lets-see-if-you-can-guess-this)
- [💡 Explanation:](#-explanation-24) - [💡 Explanation:](#-explanation-23)
- [Minor Ones](#minor-ones) - [Minor Ones](#minor-ones)
- [TODO: Hell of an example!](#todo-hell-of-an-example) - [TODO: Hell of an example!](#todo-hell-of-an-example)
- [Contributing](#contributing) - [Contributing](#contributing)
@ -1723,7 +1721,9 @@ Trying to come up with an example that combines multiple examples discussed abov
# Contributing # Contributing
All patches are Welcome! Filing an [issue](https://github.com/satwikkansal/wtfPython) first before submitting a patch will be appreciated :) Please see [CONTRIBUTING.md](/CONTRIBUTING.md) for further details. All patches are Welcome! Filing an [issue](https://github.com/satwikkansal/wtfpython/issues/new) first before submitting a patch will be appreciated :) Please see [CONTRIBUTING.md](/CONTRIBUTING.md) for further details.
For discussions, either create a new [issue](https://github.com/satwikkansal/wtfpython/issues/new) or ping on the Gitter [channel](https://gitter.im/wtfpython/Lobby)
# Acknowledgements # Acknowledgements