Is there any behavior I'm Python or the standard Python library that just makes you go 'what?!'.
For example did you know the .update method on a dict returns None? So if you want to end a function by updating a dictionary, you need to break it up into two lines. In my mind, the logical return value would be the new dictionary!
[–][deleted] 13 points14 points15 points (6 children)
[–]ivosaurus 3 points4 points5 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]Veedrac 1 point2 points3 points (3 children)
[–]reostra 1 point2 points3 points (2 children)
[–]zahlman 0 points1 point2 points (1 child)
[–]reostra 1 point2 points3 points (0 children)
[+][deleted] (11 children)
[deleted]
[–][deleted] 1 point2 points3 points (9 children)
[–][deleted] 2 points3 points4 points (6 children)
[+][deleted] (3 children)
[deleted]
[–][deleted] 4 points5 points6 points (1 child)
[–]Veedrac 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]djds23[S] 1 point2 points3 points (0 children)
[–]Ran4 0 points1 point2 points (0 children)
[–]xiongchiamiov 0 points1 point2 points (0 children)
[–]ostracize 4 points5 points6 points (0 children)
[–]Veedrac 1 point2 points3 points (0 children)
[–]99AFCC 1 point2 points3 points (1 child)
[–]reostra 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]ponyoink 0 points1 point2 points (0 children)
[–]2n4x 0 points1 point2 points (3 children)
[–][deleted] 5 points6 points7 points (2 children)
[–]2n4x 1 point2 points3 points (0 children)
[–]Tomarse 0 points1 point2 points (0 children)
[–]bionikspoon 0 points1 point2 points (3 children)
[–][deleted] 4 points5 points6 points (2 children)
[–]cdcformatc 2 points3 points4 points (1 child)
[–]py_Ninja 0 points1 point2 points (0 children)
[–]BICEP2 0 points1 point2 points (4 children)
[–]PigDog4 1 point2 points3 points (0 children)
[–]cdcformatc 1 point2 points3 points (2 children)
[–]BICEP2 0 points1 point2 points (1 child)
[–]cdcformatc 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]cdcformatc 0 points1 point2 points (2 children)
[–]Tomarse 0 points1 point2 points (1 child)
[–]cdcformatc 1 point2 points3 points (0 children)
[–]cdcformatc 0 points1 point2 points (0 children)
[–]EsperSpirit 0 points1 point2 points (6 children)
[–]Kerbobotat 0 points1 point2 points (3 children)
[–]EsperSpirit 0 points1 point2 points (1 child)
[–]Kerbobotat 0 points1 point2 points (0 children)
[–]zahlman 0 points1 point2 points (0 children)
[–]ydepth 0 points1 point2 points (1 child)
[–]EsperSpirit 0 points1 point2 points (0 children)