api changes suggested by Stani
[blender-staging.git] / release / scripts / modules / bpy_ops.py
index 55df062ac83be1df9c075c109ed6507755bdecc5..8078816f982fed373ebac7a03a50ff6bac23aafb 100644 (file)
@@ -127,6 +127,12 @@ class bpy_ops_submodule_op(object):
     '''
 
     __keys__ = ('module', 'func')
+    
+    
+    def _get_doc(self):
+        return op_as_string(self.idname())
+    
+    __doc__ = property(_get_doc)
 
     def __init__(self, module, func):
         self.module = module