pep8 compliance for bpy_ops.py

add bpy.props to the modules so you can do...
 from bpy.props import *
This commit is contained in:
Campbell Barton
2009-10-31 01:23:49 +00:00
parent a8e56a274e
commit 9efc427f80
2 changed files with 454 additions and 368 deletions

View File

@@ -2723,6 +2723,7 @@ PyObject *BPY_rna_props( void )
{
PyObject *submodule;
submodule= PyModule_Create(&props_module);
PyDict_SetItemString(PySys_GetObject("modules"), props_module.m_name, submodule);
/* INCREF since its its assumed that all these functions return the
* module with a new ref like PyDict_New, since they are passed to