Satwik Kansal
e2e8e42d52
Update backslash example
2018-01-22 18:49:09 +05:30
Satwik Kansal
ca78a6d483
Establish structure of simple parser to parse by category
2018-01-22 18:49:09 +05:30
Satwik Kansal
491a98e478
Add one more statement to explanation snippet
2018-01-22 18:49:09 +05:30
Satwik Kansal
41042a61ba
Update LICENSE
2018-01-21 18:03:21 +05:30
Satwik Kansal
cef547411c
Update LICENSE
2018-01-21 18:03:04 +05:30
Satwik Kansal
a13213dfeb
Update broken link
2018-01-14 22:55:41 +05:30
Satwik Kansal
f220dd36e0
Update the description and add social links
2018-01-14 21:11:05 +05:30
Satwik Kansal
b743451660
Add new example: Tricky strings
...
Closes https://github.com/satwikkansal/wtfpython/issues/54
2018-01-11 22:17:27 +05:30
Satwik Kansal
1ec3c5e5e9
Dictionary modification: Add python versions in the output
...
Also adds a note explaining the reason behind it.
Related to https://github.com/satwikkansal/wtfpython/issues/54
2018-01-11 15:16:54 +05:30
Satwik Kansal
f1c2b68d32
Add new example: The stubborn del operator
...
Closes https://github.com/satwikkansal/wtfpython/issues/26
2018-01-11 14:13:17 +05:30
Satwik Kansal
e94cbea6bc
Update TOC
...
Closes https://github.com/satwikkansal/wtfpython/issues/36
2018-01-07 15:05:44 +05:30
Satwik Kansal
2ef51ecb8f
Add a lot of examples
2018-01-07 15:05:00 +05:30
Satwik Kansal
b624ed908d
Update minor examples: Add one and remove one
2018-01-07 12:44:22 +05:30
Satwik Kansal
c84c827248
Add new example: Teleportation
2018-01-07 12:27:16 +05:30
Satwik Kansal
118f51d042
Add new example: Deep Down, we're all the same
2018-01-07 11:57:50 +05:30
Satwik Kansal
78a1218dbd
Minor corrections in previous example
2018-01-07 11:27:23 +05:30
Satwik Kansal
7909c0b1ad
Add example: Mangling time!
2018-01-07 11:25:34 +05:30
Satwik Kansal
0da5243425
Add new example: Subclass transitivity
2018-01-07 11:06:47 +05:30
Satwik Kansal
c346b69be8
pakcage.json: Bump version to 1.2.6
2018-01-07 10:07:56 +05:30
Satwik Kansal
47e0fc86e6
Update README.md
2017-12-24 01:03:36 +05:30
Parth Laxmikant Kolekar
0ce64da2fd
Update README.md
...
Typo fix
2017-10-20 23:01:40 +05:30
Satwik Kansal
41e9b72fea
Add new snippet: Half quoted triple strings
...
Closes https://github.com/satwikkansal/wtfpython/issues/40
2017-10-11 22:47:59 +05:30
Satwik Kansal
ea29aa034d
Update Example: Let's make a giant string
...
* Add another function `add_bytes_with_plus` actually illustrating
quadratic behavior for the `+=` operator.
* Add explaination for linear behavior due to `+=` optimizations
in case of strings.
* Change the order of examples (move string interning example just
before the giant string example).
Closes https://github.com/satwikkansal/wtfpython/issues/38
2017-10-11 18:49:09 +05:30
Satwik Kansal
31d438294f
Add new snippet: Yielding None
...
Add new snippet: Yielding None
2017-10-11 17:49:08 +05:30
Satwik Kansal
e2c2cf106b
Add new snippet: Yielding None
...
Closes https://github.com/satwikkansal/wtfpython/issues/32
2017-10-11 17:44:42 +05:30
Satwik Kansal
74e857ee83
Add gitter info and update TOC
...
Add gitter channel information and update TOC
2017-10-11 16:00:31 +05:30
Satwik Kansal
2fff92ca56
Add gitter channel information and update TOC
...
Closes https://github.com/satwikkansal/wtfpython/issues/43
2017-10-11 15:58:22 +05:30
Satwik Kansal
27d54269bf
Fix typo in output
...
Fix typo, expression output True and not [[...]]
2017-10-11 15:57:01 +05:30
Valentin Samir
6f66e1e065
Fix typo, expression output True and not [[...]]
2017-10-03 16:50:39 +02:00
Satwik Kansal
6a1bbc9136
package.json: Update version to 1.2.5
2017-09-11 22:15:31 +05:30
Satwik Kansal
e836b22a36
String concatenation optimizations: Update title
...
* Modifies the previously misleading title to be
more precise.
Related to https://github.com/satwikkansal/wtfpython/issues/38
2017-09-11 22:09:58 +05:30
Satwik Kansal
17a456adf1
Update contributing guide.
2017-09-11 21:52:45 +05:30
Satwik Kansal
76da1b8740
Skipping lines: Update explanation
...
* Add more accurate explanation
* Add more relevant example
Closes https://github.com/satwikkansal/wtfpython/issues/39
2017-09-11 21:41:00 +05:30
Satwik Kansal
2ade33dc6b
Add link to another SO question
...
add link to a more specific Stack Overflow thread
2017-09-09 16:04:09 +05:30
zed
0a70a2e645
add link to a more specific Stack Overflow thread
...
[What happens when you try to delete a list element while iterating over it](https://stackoverflow.com/questions/45946228/what-happens-when-you-try-to-delete-a-list-element-while-iterating-over-it )
2017-09-07 20:39:02 +03:00
Satwik Kansal
9899f68df3
package.json: Update version to 1.2.4
2017-09-07 21:30:27 +05:30
Satwik Kansal
0d55258685
Structure of Example: Enhance formatting
...
Made the structure of example more distinguishing
2017-09-07 16:32:20 +05:30
sunqingyao
c2d42a5e52
Formatting
2017-09-07 16:52:34 +08:00
Satwik Kansal
66d9aaa705
Change Example title
2017-09-06 09:54:44 -07:00
Jacob Mansfield
5d8a9e60c8
"Is not" description is too descriptive, changed title to "is not is not
...
is (not)"
2017-09-06 17:47:28 +01:00
Satwik Kansal
fa368e8caf
Table Of Contents: Add entries
...
* Adds new examples to the table of contents.
2017-09-06 19:01:05 +05:30
Satwik Kansal
f5ebf9c941
package.json: Update version to 1.2.3
2017-09-06 16:41:44 +05:30
Satwik Kansal
be98d88440
Add example: The surprising comma
...
Closes https://github.com/satwikkansal/wtfpython/issues/1
2017-09-06 16:40:38 +05:30
Satwik Kansal
cc3eb36f92
Minor Examples: Update explanation for multithreading example
...
* Clarifies that Python threads do run concurrently and are
useful for I/O bound tasks.
Fixes https://github.com/satwikkansal/wtfpython/issues/30
2017-09-06 16:22:59 +05:30
Satwik Kansal
24c4a6469e
Minor exmpample: Correct explanation
...
* `'a'[0][0][0][0][0]` is semanically correctly not because
strings are iterables but because they are sequences as well.
Related to https://github.com/satwikkansal/wtfpython/issues/30
2017-09-06 16:22:59 +05:30
Satwik Kansal
5467a67f0f
Add minor example
...
Adds an example to illustrate absence of
Increment and Decrement operators in Python.
Related to https://github.com/satwikkansal/wtfpython/issues/30
2017-09-06 16:22:59 +05:30
Satwik Kansal
8304eb7643
package.json: Upgrade to 1.2.2
2017-09-06 16:22:59 +05:30
Satwik Kansal
0492157664
Update Example: Same operands, different story!
...
* Clarifies that the difference between `a+=b` and `a=a+b` is not universal
2017-09-06 01:43:46 -07:00
Beni Cherniavsky-Paskin
2155d917df
italic literal *op=
*
2017-09-06 11:30:25 +03:00
Beni Cherniavsky-Paskin
c95ba00160
a+=b vs a=a+b : clarify the difference is not universal
...
Made the text say it depends on class, and rest of explanation talk of lists, not objects.
2017-09-06 09:12:37 +03:00