Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
WeakKeyedKeyIterator Class Reference
Inheritance diagram for WeakKeyedKeyIterator:
BaseIter

Public Member Functions

def __init__
 
def next
 
- Public Member Functions inherited from BaseIter
def __iter__
 

Detailed Description

Definition at line 235 of file weakref.py.

Constructor & Destructor Documentation

def __init__ (   self,
  weakdict 
)

Definition at line 236 of file weakref.py.

References WeakKeyedKeyIterator._next.

237  def __init__(self, weakdict):
238  self._next = weakdict.data.iterkeys().next

Member Function Documentation

def next (   self)

Definition at line 239 of file weakref.py.

References WeakKeyedKeyIterator._next.

240  def next(self):
241  while 1:
242  wr = self._next()
243  obj = wr()
244  if obj is not None:
245  return obj
246 

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