commit | 7cc56eb524dd83e3ba9d76accec3b0fe4010a48a | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Sep 12 20:04:46 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Sep 12 20:04:46 1997 +0000 |
tree | bd4ad6dc6d954bb1eb10640dee297422b810254e | |
parent | 626a8d034c7bdc6f716430c5d1535c09c6341fa3 [diff] |
When creating a class, set its __module__ attribute to the module whose name is in the current globals' __name__ variable. If __name__ is not set, ignore this.