1
0
mirror of https://github.com/satwikkansal/wtfpython synced 2024-11-25 12:34:23 +01:00
Commit Graph

478 Commits

Author SHA1 Message Date
Satwik Kansal
1473de7493 Add minor examples
* Else clause for loops and try blocks.
2017-08-30 18:30:01 +05:30
Satwik Kansal
cf2fbe4d5c Update table of contents 2017-08-30 16:51:15 +05:30
Satwik Kansal
f0c254b106 Add Example Structure and Usage instructions sections. 2017-08-30 16:50:39 +05:30
Satwik Kansal
0aef185848 Add string concatenation 2017-08-30 14:52:11 +05:30
Satwik Kansal
79a7f8a6d7 Update immutable tuples example 2017-08-30 12:44:41 +05:30
Satwik Kansal
e00b13005c Add Exception catching example 2017-08-30 12:32:13 +05:30
Satwik Kansal
51d14f7a25 Add .py file of mixed indentation example. 2017-08-30 03:18:31 +05:30
Satwik Kansal
585f02fe39 Add more examples and correct description of existing ones 2017-08-30 03:12:17 +05:30
Satwik Kansal
57386e5a1b Update descriptions and explainations 2017-08-30 00:53:32 +05:30
Satwik Kansal
aa300c462e Add more examples and change description slightly.
* In place update of mutables.
* Modifying a list while iterating.
2017-08-30 00:40:21 +05:30
Satwik Kansal
4d66913bca Change file name to README.md 2017-08-29 01:53:26 +05:30
Satwik Kansal
4334f802cf Add example: Name resoultion ignoring class scope 2017-08-29 01:49:09 +05:30
Satwik Kansal
750b996330 Add example: is not operator 2017-08-29 01:22:52 +05:30
Satwik Kansal
481782bb9b Update table of contents 2017-08-29 00:53:30 +05:30
Satwik Kansal
9981365920 Add more examples
* Edit dictionary while iterating
* Few minor examples
2017-08-29 00:52:34 +05:30
Satwik Kansal
221b203f5a More examples and explanations! 2017-08-28 23:34:00 +05:30
Satwik Kansal
0d0e6d1052 Add more examples.
* Needles in Haystack bugs
* Chained comparisons
2017-08-28 23:03:10 +05:30
Satwik Kansal
4c922b3280 Add examples:
* The disappearing variable to outer scope
* Return in both `try` and `finally` clauses
2017-08-28 22:09:53 +05:30
Satwik Kansal
f45b8abeeb Remove checklist and add links in acknowledgement. 2017-08-28 01:41:15 +05:30
Satwik Kansal
af55ca681b Update Table of Contents 2017-08-28 01:36:56 +05:30
Satwik Kansal
aae0e9874b Add example - Leaking variables to global scope 2017-08-28 01:35:30 +05:30
Satwik Kansal
7df4b5a368 Add common practice to default mutable argument example. 2017-08-28 00:58:58 +05:30
Satwik Kansal
8e522be50f Add examples:
* Beware of default mutable arguments
* The values inside tuple can't be chaged. Oh really?
2017-08-28 00:47:07 +05:30
Satwik Kansal
f10a3e7fc2 Add tic-tac-toe win in 1 attempt example. 2017-08-28 00:17:59 +05:30
Satwik Kansal
d1c8a53850 Add example- The function inside loop magic 2017-08-27 23:34:48 +05:30
Satwik Kansal
a3407d09b9 Adds 2 wtfs
* datetime.time is False at UTC midnight
* Is is not what it is!
2017-08-27 23:09:28 +05:30
Satwik Kansal
c003a20dac Add LICENSE 2017-08-27 00:04:19 +05:30
Satwik Kansal
e90efc7c3e Initial Commit 2017-08-27 00:01:11 +05:30