Umutambyi Gad
9d0ad9ed98
📝 Fixed simple typos
2021-02-14 00:55:41 +01:00
abdo
de4b851c72
Fix typo
...
getclosurevals -> getclosurevars
2021-02-03 02:01:07 +03:00
Satwik
2bc1cd61c1
Update the sticy output example
...
Closes https://github.com/satwikkansal/wtfpython/issues/245
2021-01-17 13:55:35 +05:30
Yonatan Goldschmidt
314de9a30b
Merge "Non-reflexive class method" into new example
2020-11-08 01:41:59 +02:00
Yonatan Goldschmidt
f13b98e6d5
Add section on methods equality and identity
...
Closes : #233
2020-11-05 01:11:18 +02:00
Satwik Kansal
902ca179eb
Merge pull request #235 from imba-tjd/patch-1
...
Change Py2 docs to 3
2020-10-27 13:54:16 +05:30
Satwik Kansal
9c42b920ad
Merge pull request #236 from imba-tjd/patch-2
...
Use https links
2020-10-27 13:53:30 +05:30
谭九鼎
ac63a4fb3a
fix indentation
2020-10-27 12:19:37 +08:00
谭九鼎
c824ed7813
Update README.md
2020-10-27 11:10:44 +08:00
谭九鼎
e5b519149d
Use https links
2020-10-27 11:10:03 +08:00
谭九鼎
435fd5f49e
Change Py2 docs to 3
2020-10-27 11:07:47 +08:00
Satwik Kansal
f082e9f22a
Update README.md
2020-10-24 21:57:35 +05:30
Satwik Kansal
33bcfa744a
Minor changes to nonlocal explanation
...
Closes https://github.com/satwikkansal/wtfpython/issues/193
2020-10-05 20:42:16 +05:30
Diptangsu Goswami
7525e800b8
#193 The out of scope variable, nonlocal ( #228 )
...
* fixed link to CONTRIBUTORS.md
* The out of scope variable, nonlocal, #193
* added myself to CONTRIBUTORS.md :D
* Update CONTRIBUTORS.md
* added entry in index
* merged nonlocal to `the out of scope variable` example
Also removed the extra entry from the main index.
2020-10-05 20:35:20 +05:30
AmitShinde
d4ad5a0643
Update README.md
2020-10-01 19:41:25 +05:30
Vladislav Glinsky
be2d537a05
Add link to Python FAQ to "Mutating the immutable"
2020-09-17 03:38:41 +03:00
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