Version: 8.3.0
gui.CONNECTOR.BoundMethodWeakref Class Reference
Inheritance diagram for gui.CONNECTOR.BoundMethodWeakref:
Collaboration diagram for gui.CONNECTOR.BoundMethodWeakref:

Public Member Functions

def __init__
 
def __call__
 

Public Attributes

 Self
 
 Func
 

Detailed Description

Definition at line 128 of file CONNECTOR.py.

Constructor & Destructor Documentation

def gui.CONNECTOR.BoundMethodWeakref.__init__ (   self,
  callable 
)

Definition at line 129 of file CONNECTOR.py.

130  def __init__(self,callable):
131  self.Self=weakref.ref(callable.im_self)
132  self.Func=weakref.ref(callable.im_func)

Member Function Documentation

def gui.CONNECTOR.BoundMethodWeakref.__call__ (   self)

Definition at line 133 of file CONNECTOR.py.

References gui.CONNECTOR.BoundMethodWeakref.Func, and gui.CONNECTOR.BoundMethodWeakref.Self.

134  def __call__(self):
135  target=self.Self()
136  if not target:return None
137  func=self.Func()
138  if func:
139  return func.__get__(self.Self())

Member Data Documentation

gui.CONNECTOR.BoundMethodWeakref.Func

Definition at line 131 of file CONNECTOR.py.

Referenced by gui.CONNECTOR.BoundMethodWeakref.__call__().

gui.CONNECTOR.BoundMethodWeakref.Self

Definition at line 130 of file CONNECTOR.py.

Referenced by gui.CONNECTOR.BoundMethodWeakref.__call__().


The documentation for this class was generated from the following file: