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 555 of file Mixins.py.

00556                           :
00557     #frame = inspect.stack()[level+1]
00558     frame = inspect.getframeinfo(inspect.currentframe(level+1))
00559     # not safe under old python versions
00560     #obj._filename = frame.filename
00561     #obj._lineNumber = frame.lineno
00562     obj._filename = frame[0]
00563     obj._lineNumber = frame[1]