commit | 508d25ef34a69e698adeaf195fd03b2f4cdaecca | [log] [tgz] |
---|---|---|
author | Anirudh Padmarao <apadmarao@users.noreply.github.com> | Thu Jan 24 03:52:18 2019 -0800 |
committer | Ivan Levkivskyi <levkivskyi@gmail.com> | Thu Jan 24 11:52:18 2019 +0000 |
tree | 811e95227cd9a8d1699768f633ca507a1d755050 | |
parent | a4681cd9819429a8a470fe516fce8e65f4528e48 [diff] |
Set TypedDict module correctly when using class definition syntax (#2) (#4) I shuffled the code so that we only override `__module__` when TypedDict is instantiated (and not when it's subclassed). And I tested that `__module__` is correct with both syntaxes.