1
0
mirror of https://github.com/satwikkansal/wtfpython synced 2024-12-23 05:10:10 +01:00

82 Commits

Author SHA1 Message Date
Satwik Kansal
71b6e2812d Update Table Of Contents 2017-09-01 23:58:59 +05:30
Satwik Kansal
1b8d9ef06a Add new example: Counting the booleans
* Moves the "Booleans are subclass of int" example
from "Minor Ones" list to a new example.
2017-09-01 22:47:05 +05:30
Satwik Kansal
82bbded3da Change the position of the notes.
* Moves the position of the information regarding the
Python version so that it is not skipped by the readers.
* Also moves the position of the instructions for reproducing the
"Skipping lines" example to just below the output.

Closes https://github.com/satwikkansal/wtfPython/issues/17
2017-09-01 22:24:47 +05:30
Satwik Kansal
046663efff Fix wrong output
Fixed wrong output of `isinstance(False, float)`
2017-09-01 09:34:54 -07:00
Jeppe Pihl
bd05e9e723 Fixed wrong output of isinstance(False, float)
Fixed the output of `isinstance(False, float)` and changed `False` to `True` to match `isinstance(True, int)`
2017-09-01 15:13:09 +02:00
Satwik Kansal
f5565ee615 package.json: Upgrade to 1.2.1
* Changes version from 1.2.0 to 1.2.1
* Publish to npm
2017-09-01 16:29:33 +05:30
Satwik Kansal
4ae910baf3 Update Table Of Contents 2017-09-01 16:28:00 +05:30
Satwik Kansal
82b4ea20b2 Fix typos
* Changes "bord" to "board"
* Changes "some)func" to "some_func"
2017-09-01 02:36:46 -07:00
Eyal Zekaria
43a9c84bac Fix a couple of typos 2017-09-01 11:28:17 +02:00
Satwik Kansal
ba238cfa82 Add example: Loop variable resilient to changes
Closes https://github.com/satwikkansal/wtfPython/issues/11
2017-09-01 14:50:13 +05:30
Satwik Kansal
1a79352cc3 Update contributing section
* Link to CONTRIBUTING.md in the "Contributing" section
* Add couple of lines in CONTRIBUTING.md
2017-09-01 14:05:28 +05:30
Satwik Kansal
6cd006cd48 Skipping Lines: Add instructions to reproduce the exmaple 2017-09-01 13:58:39 +05:30
Satwik Kansal
86715d646e Add statement in output
Adds None==None statement in explicit string casting
example.
2017-09-01 13:52:18 +05:30
Satwik Kansal
8e69c66246 Correct ambiguous statement
* Removes the statement "So if the is operator returns True
then the equality is definitely True" because it contradicts
in case of float('nan')
* Adds a small example with explaination for the same.
2017-09-01 13:48:24 +05:30
Satwik Kansal
d91404dc69 Fix typo
Changes 0 to 0.0 in the output of explicit
string typecasting example.

Fixes https://github.com/satwikkansal/wtfPython/issues/13
2017-09-01 04:32:43 +05:30
Satwik Kansal
3c97d1b980 Changes "Outupt" to "Output" 2017-08-31 15:56:31 -07:00
Satwik Kansal
3256b04e73 Merge branch 'master' into patch-1 2017-08-31 15:55:24 -07:00
Satwik Kansal
3cdc9acbf3 Add new example
Closes https://github.com/satwikkansal/wtfPython/issues/9
2017-09-01 03:55:43 +05:30
Bengt Van De Velde
7df7637716 Fix typo. 2017-09-01 00:23:26 +02:00
Satwik Kansal
8ae68f11b6 Add new example
Closes https://github.com/satwikkansal/wtfPython/issues/9
2017-09-01 03:51:26 +05:30
Satwik Kansal
f76511c15b Add .gitattributes 2017-09-01 03:20:13 +05:30
Satwik Kansal
526bcd1109 Fix typo
Changes disperancy to discrepancy
2017-08-31 12:15:00 -07:00
Giovanni Funchal
08471cc6d5 Fix typo disperancy->discrepancy 2017-08-31 19:55:34 +01:00
Satwik Kansal
722c5b83ba Fix typos
Corrects typos in CONTRIBUTING.md.
Fixes #4
2017-08-31 11:01:32 -07:00
Alessandro Cuzzocrea
c42110cf6b Fixes typo in CONTRIBUTING.md
ading -> adding

Also rogue character string "dcd"
2017-08-31 19:52:18 +02:00
Satwik Kansal
e7ce91da86 Fix typo in example
Fix the True assignment example.
2017-08-31 10:47:19 -07:00
Simon Charette
967d8190cb Fix the True assignment example. 2017-08-31 13:40:47 -04:00
Satwik Kansal
ddbbe69186 Fix typos
Fixes https://github.com/satwikkansal/wtfPython/issues/3
and https://github.com/satwikkansal/wtfPython/issues/2
2017-08-31 22:52:56 +05:30
Satwik Kansal
310ba05449 Update CONTRIBUTING.md 2017-08-31 19:13:00 +05:30
Satwik Kansal
1c838ad896 Create CONTRIBUTING.md 2017-08-31 19:11:20 +05:30
Satwik Kansal
69d7d1e646 Add URL for issues, and update description. 2017-08-31 18:55:26 +05:30
Satwik Kansal
bfef27ef05 Publish 1.2.0 2017-08-31 18:53:48 +05:30
Satwik Kansal
1d3cc1c8e2 Minor corrections, Update TOC, and adjust formatting. 2017-08-31 18:37:33 +05:30
Satwik Kansal
267bf1e369 Fix typos. 2017-08-31 17:01:41 +05:30
Satwik Kansal
24c3031bc1 Add CLI instructions 2017-08-31 03:32:07 +05:30
Satwik Kansal
d005ba222a Update version to 1.1.0 2017-08-31 03:18:28 +05:30
Satwik Kansal
1c4aa9edd0 Add .npmignore 2017-08-31 03:16:33 +05:30
Satwik Kansal
26c78f51fb Add CLI 2017-08-31 02:44:01 +05:30
Satwik Kansal
bfd82bee4b Delete uncessary files 2017-08-31 01:41:36 +05:30
Satwik Kansal
68597bfc64 Add package.json 2017-08-31 01:39:43 +05:30
Satwik Kansal
74c91f0305 Update Header 2017-08-31 01:39:19 +05:30
Satwik Kansal
7628e23b81 Add package.json 2017-08-31 01:12:25 +05:30
Satwik Kansal
14e1f944dc Add giitignore 2017-08-31 01:12:10 +05:30
Satwik Kansal
7bb5bf0e36 Update Table Of Contents 2017-08-31 00:36:23 +05:30
Satwik Kansal
d0eea3e006 Reorder examples 2017-08-31 00:26:48 +05:30
Satwik Kansal
8384e71f13 Fix grammatical errors 2017-08-31 00:05:32 +05:30
Satwik Kansal
e84eba6fbb Improve formatting 2017-08-30 23:10:42 +05:30
Satwik Kansal
69da562140 Update table of contents 2017-08-30 22:57:33 +05:30
Satwik Kansal
3d8bc2cdd6 Improve formatting 2017-08-30 22:57:10 +05:30
Satwik Kansal
0c7e9f02d7 Add bulb character before "Explanation" headings 2017-08-30 22:11:32 +05:30