Satwik Kansal
6223715725
change order
2019-09-13 15:25:57 +05:30
Satwik Kansal
2a1c28ee4d
Fix toc
2019-09-13 15:25:57 +05:30
Satwik Kansal
d6b735768c
Remove asterisks and carets from titles
2019-09-13 15:24:43 +05:30
Satwik Kansal
e8fcce27c2
Fix uuid comments
2019-09-13 15:24:01 +05:30
Satwik Kansal
45638fa6b1
Add uuids to examples
2019-09-13 15:24:01 +05:30
Satwik Kansal
162458c88e
Update TOC
2019-09-13 15:24:01 +05:30
Satwik Kansal
edeb98f406
Update the booleans example
...
Fix some technically incorrect terminologies and snippets.
2019-09-13 15:22:40 +05:30
Satwik Kansal
9939ff6a1f
Add new example: Wild imports
2019-09-13 15:22:40 +05:30
Satwik Kansal
6934d94222
Some minor changes, and add assertion example
2019-09-13 15:22:01 +05:30
Satwik Kansal
7b22f84f97
Add new example: Disorder within order
...
Resolves https://github.com/satwikkansal/wtfpython/issues/77
2019-09-13 15:21:05 +05:30
Satwik Kansal
055bd0246d
New example: Lossy zip of iterators
...
Resolves https://github.com/satwikkansal/wtfpython/issues/121
2019-09-13 15:21:05 +05:30
Satwik Kansal
330f7da1d3
String can be tricky: Remove outdated snippet
...
Related to https://github.com/satwikkansal/wtfpython/issues/120
2019-09-13 15:21:05 +05:30
Satwik Kansal
ae05101d70
Brace yourself: Add to explanation
...
Resolves https://github.com/satwikkansal/wtfpython/issues/114
2019-09-13 15:18:48 +05:30
Satwik Kansal
2295fb24b7
Let's make a giant string: Use %timeit for measuring time
...
Fixes https://github.com/satwikkansal/wtfpython/issues/106
2019-09-13 15:18:48 +05:30
Satwik Kansal
f365271df3
New example: The chicken-egg problem
...
Closes https://github.com/satwikkansal/wtfpython/issues/101
2019-09-13 15:18:48 +05:30
Satwik Kansal
9b3b367b45
Update example "is is not what it is"
...
Related to https://github.com/satwikkansal/wtfpython/issues/100
2019-09-13 15:18:48 +05:30
Satwik Kansal
5373d0f184
Add example: Ellipsis
...
Resolves https://github.com/satwikkansal/wtfpython/issues/96
2019-09-13 15:18:48 +05:30
Satwik Kansal
89c56c2366
Let's meet Friendly Language Uncle For Life: Add notes for non-interactive evn
...
Resolves https://github.com/satwikkansal/wtfpython/issues/94
2019-09-13 15:18:48 +05:30
Satwik Kansal
e3118ed4da
Add new snippet: Splitsies
...
Resolves https://github.com/satwikkansal/wtfpython/issues/80
2019-09-13 15:18:48 +05:30
Satwik Kansal
f3b96e4d7f
Expand strings and backslashes
...
Resolves https://github.com/satwikkansal/wtfpython/issues/69
2019-09-13 15:18:48 +05:30
Satwik Kansal
a0832c4459
Modifying a dictionary while iterating over it: Add note
...
Resolves https://github.com/satwikkansal/wtfpython/issues/53
2019-09-13 15:18:48 +05:30
Satwik Kansal
dbbabbe564
Update evaluation time discrepency example: Add another snippet
...
Resolves https://github.com/satwikkansal/wtfpython/issues/41
2019-09-13 15:18:48 +05:30
Satwik Kansal
f8a7d38b70
Update content.md
2019-09-13 15:18:47 +05:30
Satwik Kansal
810dbe1582
Some hideous typora corrections and a new snippets added
...
Also closes https://github.com/satwikkansal/wtfpython/issues/73
2019-09-13 15:18:47 +05:30
Satwik Kansal
a5e7cd7cf8
Add todos
2019-09-13 15:18:47 +05:30
Satwik Kansal
efdac8f9ca
Get the generator in a working state
2019-09-13 15:18:47 +05:30
Satwik Kansal
3479b2befb
Use absolute path for the pager.
...
Fixes https://github.com/satwikkansal/wtfpython/issues/119
2019-09-13 15:18:47 +05:30
Satwik Kansal
290921fe12
Add json generator
2019-09-13 15:16:18 +05:30
Satwik
03719dea45
Add few pointers for contributing well
2019-09-13 15:15:31 +05:30
Satwik
c5665da81d
Nitpicks in the new example
2019-09-13 15:01:45 +05:30
Satwik Kansal
0fa3067e5f
Merge pull request #138 from scidam/master
...
New snippet: yielding from... return!
2019-09-13 14:33:20 +05:30
Kislov Dmitry
cedbfba829
New snippet: yielding from... return!
2019-09-13 12:03:27 +10:00
Satwik Kansal
9f5dbbe4e9
Merge pull request #134 from sobolevn/patch-1
...
Fixes code highlight
2019-08-04 12:56:24 +05:30
Nikita Sobolev
b0622a10ad
Fixes code highlight
2019-07-30 00:34:58 +03:00
Satwik Kansal
ffe6438576
Commit insert_ids script
2019-07-21 18:57:01 +05:30
Satwik Kansal
772a96c36f
change order
2019-07-13 22:41:27 +05:30
Satwik Kansal
d3157d61a3
Fix toc
2019-07-08 22:24:37 +05:30
Satwik Kansal
4618bed5f6
Remove asterisks and carets from titles
2019-07-08 22:01:41 +05:30
Satwik Kansal
863e1f4512
Fix uuid comments
2019-07-08 03:00:33 +05:30
Satwik Kansal
98701351c6
Add uuids to examples
2019-07-08 02:54:49 +05:30
Satwik Kansal
c30e0d2ed6
Merge remote-tracking branch 'origin/master' into 3.0
2019-07-08 02:33:38 +05:30
Satwik Kansal
4d8e5795a3
Update TOC
2019-07-07 22:18:35 +05:30
Satwik Kansal
96455422ef
Update the booleans example
...
Fix some technically incorrect terminologies and snippets.
2019-07-07 22:17:33 +05:30
Satwik Kansal
e6eac17ef5
Merge pull request #126 from cclauss/patch-2
...
Use ==/!= to compare str, bytes, and int literals
2019-07-06 13:34:28 +05:30
Satwik Kansal
151d0ec93a
Merge pull request #127 from zachkirsch/patch-1
...
Fix typos in README.md, CONTRIBUTORS.md
2019-07-03 22:29:39 +05:30
Zach Kirsch
12a1ac10cb
Fix github URL typos in CONTRIBUTORS.md
2019-07-03 11:46:31 -04:00
zachkirsch
e611f24e7f
Change constant-folding max from <20 to <=20
2019-07-03 11:39:57 -04:00
cclauss
a4776a6b67
Use ==/!= to compare str, bytes, and int literals
...
Identity is not the same thing as equality in Python.
$ __[flake8](http://flake8.pycqa.org ) . --count --select=E9,F63,F7,F82 --show-source --statistics__
```
if resp.status_code is 200:
^
1 F632 use ==/!= to compare str, bytes, and int literals
1
```
2019-07-02 15:36:23 +02:00
Satwik Kansal
a83349d0cc
Merge pull request #124 from cclauss/patch-1
...
Add automated testing using Travis CI
2019-07-02 17:45:11 +05:30
cclauss
14e03a3766
Add automated testing using Travis CI
...
The repo switch would need to be turned on at https://travis-ci.com/satwikkansal/wtfpython to enable free automated testing of all code changes.
2019-06-28 07:03:12 +02:00