CMS 3D CMS Logo

Classes | Functions

Mixins Namespace Reference

Classes

class  _ConfigureComponent
class  _Labelable
class  _Parameterizable
class  _ParameterTypeBase
class  _SimpleParameterTypeBase
class  _TypedParameterizable
class  _Unlabelable
class  _ValidatingListBase
class  _ValidatingParameterListBase
class  PrintOptions
class  TestList
class  testMixins
class  UsingBlock

Functions

def saveOrigin

Function Documentation

def Mixins::saveOrigin (   obj,
  level 
)

Definition at line 564 of file Mixins.py.

00565                           :
00566     #frame = inspect.stack()[level+1]
00567     frame = inspect.getframeinfo(inspect.currentframe(level+1))
00568     # not safe under old python versions
00569     #obj._filename = frame.filename
00570     #obj._lineNumber = frame.lineno
00571     obj._filename = frame[0]
00572     obj._lineNumber = frame[1]