def viewvalues(self):
     return collections.ValuesView(self)
示例#2
0
文件: tools.py 项目: KGerring/lintful
 def itervalues(self):
     return collections.ValuesView(self.mapping)
示例#3
0
def _viewvalues(instance):
    "Returns a :py:class:`collections.ValuesView` of its own values."
    return collections.ValuesView(instance._dict)