示例#1
0
 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/ }}}
示例#3
0
 def viewitems(self):
     return ItemsView(self)
示例#4
0
 def viewitems(self):
     """od.viewitems() -> a set-like object providing a view on od's items"""
     if ItemsView:
         return ItemsView(self)
     else:
         return None