def viewvalues(self):
     return collections.ValuesView(self)
Exemplo n.º 2
0
 def itervalues(self):
     return collections.ValuesView(self.mapping)
Exemplo n.º 3
0
def _viewvalues(instance):
    "Returns a :py:class:`collections.ValuesView` of its own values."
    return collections.ValuesView(instance._dict)