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
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
Satwik
f72d7325fa
Fix uuid and toc
2020-07-10 22:34:22 +05:30
Satwik
f97cbdd919
Minor updates to slowinig down dict lookups example
2020-07-10 22:28:44 +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
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
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
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
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
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
Kerollos Magdy
d1a4144143
Fix issue creating link
2020-01-09 13:12:14 +02:00
Chris Guo
43679ebd1e
fix: fix example input error
2020-01-08 00:09:25 +08:00
Satwik Kansal
0d65c00bb6
Merge pull request #166 from louisguitton/patch-1
...
Fix typo in 'Strings can be tricky sometimes'
2020-01-06 19:39:21 +05:30
Nick Muoh
68f6e0217c
Fixed mispelling
2020-01-04 19:49:32 -05:00
Louis Guitton
3d64252310
Fix typo in 'Strings can be tricky sometimes'
2020-01-04 17:16:09 +01:00
Satwik
185d60c1b6
Update hash brownies explanation and the logical order of few examples.
...
Addresses https://github.com/satwikkansal/wtfpython/pull/76
2019-12-31 16:10:45 +05:30
Satwik Kansal
1b3b2e6c71
Fix typo
...
Closes https://github.com/satwikkansal/wtfpython/issues/165
2019-12-30 19:20:31 +05:30
Satwik Kansal
f98bd4363f
Fix typo
...
Closes https://github.com/satwikkansal/wtfpython/issues/164
2019-12-30 13:05:38 +05:30
Satwik
2c910351b7
Fix relevant typos detected by codespell
...
Closes https://github.com/satwikkansal/wtfpython/issues/161
2019-12-27 20:05:17 +05:30
Satwik
9a2718ae3a
Fix typo
...
Closes https://github.com/satwikkansal/wtfpython/issues/162
2019-12-27 20:05:17 +05:30
Rahul Gopinath
2f2fcf87bc
Make sure that default_arg is not passed rather than checking for falsity
...
```
if not default_arg:
...
```
fails when `default_arg` can be assigned and still be false (implementing a `__bool__` or `__len__` etc). You dont want to overwrite the passed values.
2019-12-25 10:10:53 +01:00
Satwik Kansal
99280f57a0
Merge pull request #159 from boppreh/patch-1
...
Update README.md
2019-12-25 01:23:18 +05:30
Satwik
7c85a73442
Move discussion thread links to the links section
2019-12-25 00:09:55 +05:30
BoppreH
e4f340281c
Update README.md
...
Fix incorrect output for f-string.
2019-12-24 14:02:22 -03:00
Satwik
6c0ed6e7c5
Add discussion links
2019-12-24 21:47:59 +05:30
Satwik
dcc2e6a3d8
Update links
2019-12-24 20:09:12 +05:30
Satwik
a1b4f8d521
Put the pdf link back on demand
2019-12-23 23:13:08 +05:30
puɐloɹ ʇɹǝqƃǝᴉs
73a1248d04
Fix typo in dictionary section
2019-12-23 16:31:44 +01:00
Satwik
a39792bd4b
Remove kofi link
2019-12-23 16:27:27 +05:30
Satwik
bd45175405
Point colab notebook to the master
2019-12-23 15:59:59 +05:30