1
0
mirror of https://github.com/satwikkansal/wtfpython synced 2024-11-27 13:34:22 +01:00
Commit Graph

619 Commits

Author SHA1 Message Date
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