From 2fff92ca5652024ae0b6ef072197d9a60e05282c Mon Sep 17 00:00:00 2001 From: Satwik Kansal Date: Wed, 11 Oct 2017 15:55:32 +0530 Subject: [PATCH] Add gitter channel information and update TOC Closes https://github.com/satwikkansal/wtfpython/issues/43 --- README.md | 56 +++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index 5318181..670a1fb 100755 --- a/README.md +++ b/README.md @@ -19,8 +19,6 @@ So, here ya go... - [Structure of the Examples](#structure-of-the-examples) - - [Some fancy Title](#some-fancy-title) - - [💡 Explanation:](#-explanation) - [Usage](#usage) - [👀 Examples](#-examples) - [Skipping lines?](#skipping-lines) @@ -32,67 +30,67 @@ So, here ya go... - [Evaluation time discrepancy](#evaluation-time-discrepancy) - [💡 Explanation](#-explanation-3) - [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) - - [💡 Explanation:](#-explanation-2) + - [💡 Explanation:](#-explanation-1) - [Backslashes at the end of string](#backslashes-at-the-end-of-string) - [💡 Explanation](#-explanation-4) - [Let's make a giant string!](#lets-make-a-giant-string) - [💡 Explanation](#-explanation-5) - - [String concatenation interpreter optimizations.](#string-concatenation-interpreter-optimizations) - - [💡 Explanation:](#-explanation-3) + - [String interning](#string-interning) + - [💡 Explanation:](#-explanation-2) - [Yes, it exists!](#yes-it-exists) - - [💡 Explanation:](#-explanation-4) + - [💡 Explanation:](#-explanation-3) - [`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-) - [💡 Explanation](#-explanation-6) - [The function inside loop sticks to the same output](#the-function-inside-loop-sticks-to-the-same-output) - [💡 Explanation](#-explanation-7) - [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) - - [💡 Explanation:](#-explanation-7) + - [💡 Explanation:](#-explanation-6) - [Beware of default mutable arguments!](#beware-of-default-mutable-arguments) - - [💡 Explanation:](#-explanation-8) + - [💡 Explanation:](#-explanation-7) - [Same operands, different story!](#same-operands-different-story) - - [💡 Explanation:](#-explanation-9) + - [💡 Explanation:](#-explanation-8) - [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) - - [💡 Explanation:](#-explanation-11) + - [💡 Explanation:](#-explanation-10) - [The disappearing variable from outer scope](#the-disappearing-variable-from-outer-scope) - - [💡 Explanation:](#-explanation-12) + - [💡 Explanation:](#-explanation-11) - [Return return everywhere!](#return-return-everywhere) - - [💡 Explanation:](#-explanation-13) + - [💡 Explanation:](#-explanation-12) - [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) - - [💡 Explanation:](#-explanation-15) + - [💡 Explanation:](#-explanation-14) - [Name resolution ignoring class scope](#name-resolution-ignoring-class-scope) - [💡 Explanation](#-explanation-8) - [From filled to None in one instruction...](#from-filled-to-none-in-one-instruction) - [💡 Explanation](#-explanation-9) - [Explicit typecast of strings](#explicit-typecast-of-strings) - - [💡 Explanation:](#-explanation-16) + - [💡 Explanation:](#-explanation-15) - [Class attributes and instance attributes](#class-attributes-and-instance-attributes) - - [💡 Explanation:](#-explanation-17) + - [💡 Explanation:](#-explanation-16) - [Catching the Exceptions!](#catching-the-exceptions) - [💡 Explanation](#-explanation-10) - [Midnight time doesn't exist?](#midnight-time-doesnt-exist) - - [💡 Explanation:](#-explanation-18) + - [💡 Explanation:](#-explanation-17) - [What's wrong with booleans?](#whats-wrong-with-booleans) - - [💡 Explanation:](#-explanation-19) + - [💡 Explanation:](#-explanation-18) - [Needle in a Haystack](#needle-in-a-haystack) - - [💡 Explanation:](#-explanation-20) + - [💡 Explanation:](#-explanation-19) - [The surprising comma](#the-surprising-comma) - - [💡 Explanation:](#-explanation-21) + - [💡 Explanation:](#-explanation-20) - [For what?](#for-what) - - [💡 Explanation:](#-explanation-22) + - [💡 Explanation:](#-explanation-21) - [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) - - [💡 Explanation:](#-explanation-24) + - [💡 Explanation:](#-explanation-23) - [Minor Ones](#minor-ones) - [TODO: Hell of an example!](#todo-hell-of-an-example) - [Contributing](#contributing) @@ -1723,7 +1721,9 @@ Trying to come up with an example that combines multiple examples discussed abov # 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