AmitShinde
d4ad5a0643
Update README.md
2020-10-01 19:41:25 +05:30
Satwik Kansal
9e28e00123
Update CONTRIBUTING.md
2020-10-01 16:56:40 +05:30
Satwik Kansal
27b66b4f31
Fix typo and minor changes
2020-09-17 17:02:56 +05:30
Satwik Kansal
19e6b7da57
Merge pull request #221 from cl0ne/patch-1
...
Add link to Python FAQ to "Mutating the immutable"
2020-09-17 07:39:11 +05:30
Vladislav Glinsky
be2d537a05
Add link to Python FAQ to "Mutating the immutable"
2020-09-17 03:38:41 +03:00
Satwik
7d06e7b5c1
Add a meme
2020-08-27 00:47:08 +05:30
Satwik Kansal
a3baf043bd
Add a note about the asterisks
...
Fixes https://github.com/satwikkansal/wtfpython/issues/219
2020-08-24 20:10:59 +05:30
Satwik Kansal
03a035a89d
Merge pull request #216 from Jongy/instance-dict-size
...
Add "bloating instance dicts" section
2020-08-01 17:54:21 +05:30
Yonatan Goldschmidt
87906b9b2f
Fix anchor name of "slowing down dict lookups"
2020-07-31 12:34:12 +03:00
Yonatan Goldschmidt
ee0696b676
Add "bloating instance dicts" section
...
Closes : #210
2020-07-31 12:34:12 +03:00
Yukti Khosla
035bde72ef
Create else_without_if.txt
...
Most languages do not allow an else statement without an if.
However, python allows the else statement to be executed without the if provided the loop before it has not been terminated by a break statement.
2020-07-21 20:03:45 +05:30
Satwik
f72d7325fa
Fix uuid and toc
2020-07-10 22:34:22 +05:30
Satwik
ee70d52fe4
Add Jongy to the contributors list
2020-07-10 22:30:30 +05:30
Satwik
f97cbdd919
Minor updates to slowinig down dict lookups example
2020-07-10 22:28:44 +05:30
Satwik Kansal
098d71f348
Merge pull request #209 from Jongy/dict-loopup-performance
...
Add "dict lookup performance" section
2020-07-10 22:17:41 +05:30
Yonatan Goldschmidt
0b74f9ba5d
Add "dict lookup performance" section
...
Closes : #208
2020-07-04 18:45:45 +03:00
Satwik Kansal
7457ffb848
Update README.md
2020-06-25 16:28:58 +05:30
Satwik
3ba87fea65
Add link
2020-06-15 16:03:06 +05:30
Satwik
32f14a7e16
Add Vietnamese translation
...
Closes https://github.com/satwikkansal/wtfpython/issues/195
2020-06-14 10:40:30 +05:30
Satwik Kansal
14600fd19b
Merge pull request #204 from myrmica-habilis/master
...
Add two missing outputs in the walrus examples
2020-05-16 17:57:52 +05:30
Satwik Kansal
5edef33cae
Merge pull request #203 from secworks/master
...
'less than 21' is the correct expression.
2020-05-02 21:50:04 +05:30
Joachim Strömbergson
9ff40de544
'less than 21' is the correct expression. Could slso be 'less or equal to 20'.
2020-05-02 08:54:24 +02:00
Satwik Kansal
0684777fa3
Merge pull request #199 from LeafyLi/master
...
Replace http link with https
2020-04-26 23:38:43 +05:30
zenglifa@msu.edu
f735fe3116
Replace http link with https
2020-04-25 15:37:50 -04:00
Satwik Kansal
669ff8c30e
Merge pull request #192 from Jongy/correctify-stubborn-del-explanation
...
Correctify explanation of "Stubborn `del` operation"
2020-03-25 22:40:42 +05:30
Yonatan Goldschmidt
67f743eddd
Correctify explanation of Stubborn del
operation
2020-03-24 23:12:47 +02:00
myrmica-habilis
78cb5f39f5
Update README.md
...
- assignment expressions are evaluated and printed by the REPL
2020-03-20 11:00:29 +01:00
Satwik Kansal
e9b04d33f7
Merge pull request #181 from Haksell/correct-six-typos
...
Correct six typos
2020-02-16 02:31:40 +05:30
Satwik Kansal
733061f90d
Merge pull request #183 from Pradhvan/UpdatingDoc
...
README.md: Update Python version in 'Modifying a dictionary while ite…
2020-02-15 14:35:55 +05:30
Pradhvan
184df9f99d
README.md: Update Python version in 'Modifying a dictionary while iterating over it' example
2020-02-15 14:30:05 +05:30
Haksell
a4af8a4e0c
Correct six typos
2020-02-15 09:04:24 +01:00
Haksell
50265e91fc
Correct six typos
2020-02-15 09:03:08 +01:00
Satwik Kansal
6cebc952c3
Fix minor typo in the "is not" example
2020-01-20 14:23:20 +05:30
Satwik Kansal
bd7cd4334c
Merge pull request #175 from larsks/fix/is-not
...
Extend the explanation of the "is not ..." section
2020-01-20 14:20:57 +05:30
Satwik Kansal
97c10e6fda
Merge pull request #177 from larsks/fix/quotes
...
Clarify for quoting examples
2020-01-20 14:20:22 +05:30
Satwik Kansal
8e6c850f30
Merge pull request #178 from larsks/fix/bad-logic
...
Fixed logic error in "Beware of default mutable arguments!"
2020-01-20 14:18:41 +05:30
Satwik Kansal
e74ccb79d0
Merge pull request #176 from larsks/fix/grammar
...
A minor grammar correction
2020-01-20 14:17:48 +05:30
Satwik Kansal
daf156abf5
Merge pull request #174 from larsks/spelling
...
Fix spelling (found -> find)
2020-01-20 14:13:23 +05:30
Lars Kellogg-Stedman
16c90f9b24
Fixed logic error in "Beware of default mutable arguments!"
...
The example showing how using None as a default argument is used
instead of a mutable default argument had reversed logic. It would
set default_arg to [] whenever the caller passed a non-None argument.
2020-01-19 12:03:30 -05:00
Lars Kellogg-Stedman
3e99005ae4
Clarify for quoting examples
...
The example of the use of backslash to escape a double-quote makes
more sense when used inside a double-quoted string. If the string is
quoted with single quotes, one could of course just write 'wt"f'
withouth requiring any escaping.
2020-01-19 10:19:17 -05:00
Lars Kellogg-Stedman
8370f3a3b9
A minor grammar correction
2020-01-19 10:16:47 -05:00
Lars Kellogg-Stedman
f20be4cfc4
Extend the explanation of the "is not ..." section
...
I thought that the explanation for "'something' is (not None)" could
be a little more explicit.
2020-01-19 10:13:50 -05:00
Lars Kellogg-Stedman
00a1228ca3
Fix spelling (found -> find)
...
Noticed a minor spelling error while reading through this fantastic
document.
2020-01-19 10:04:41 -05:00
Satwik Kansal
de113d2491
Merge pull request #170 from art049/master
...
Wild imports typo
2020-01-12 00:34:12 +05:30
Satwik Kansal
ffb1599458
Merge pull request #171 from entwanne/needles-haystack-example-6
...
Fix explanation for 6th example of "Needles in a Haystack"
2020-01-12 00:33:30 +05:30
Antoine Rozo
5f8067df42
Fix explanation for 6th example of "Needles in a Haystack"
2020-01-10 14:39:29 +01:00
Arthur Pastel
30a6623ccd
Wild imports typo
2020-01-10 12:43:16 +01:00
Satwik Kansal
83cac75f41
Merge pull request #169 from kerolloz/master
...
Fix issue creating link
2020-01-10 14:40:07 +05:30
Kerollos Magdy
d1a4144143
Fix issue creating link
2020-01-09 13:12:14 +02:00
Satwik Kansal
3e98cf1ceb
Merge pull request #168 from chrisguox/update-docs
...
Fixed example input error
2020-01-09 14:50:47 +05:30