You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PyFunction_New() and type_new() both simply lookup the __name__ of the global scope in which a function or class is defined in order to determine its __module__. So we can do a better job of ensuring __module__ is set correctly by simply overriding __name__ before defining any functions or classes. Works identically in Python 3. |
9 years ago | |
|---|---|---|
| .. | ||
| ansible | ||
| compat | ||
| __init__.py | ||
| core.py | 9 years ago | |
| master.py | 9 years ago | |
| ssh.py | 9 years ago | |
| tcp.py | 9 years ago | |
| utils.py | 9 years ago | |