def viewitems(self): "od.viewitems() -> a set-like object providing a view on od's items" return ItemsView(self)
def viewitems(self): "od.viewitems() -> a set-like object providing a view on od's items" return ItemsView(self) ## end of http://code.activestate.com/recipes/576693/ }}}
def viewitems(self): return ItemsView(self)
def viewitems(self): """od.viewitems() -> a set-like object providing a view on od's items""" if ItemsView: return ItemsView(self) else: return None