]> granicus.if.org Git - python/commit
Cleanup type_call() to ease debug
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 16 Jul 2013 20:51:21 +0000 (22:51 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 16 Jul 2013 20:51:21 +0000 (22:51 +0200)
commit3997cfdb7fa75fece43288e89e80b4eaaae7be0a
tree5fec2ca495af566792964a90c74a9af2c6b5329d
parent1e53bbacedaed883104454693c29d1ad31f5029b
Cleanup type_call() to ease debug

It was easy to miss the call to type->tp_init because it was done in a long
conditional expression. Split the long expression in multiple lines to make the
debug step by step easier.
Objects/typeobject.c