#NEWLINE# def items( self , lazy = False ) : #NEWLINE# #INDENT# "\n        Like Python's ``dict.items()`` but supports an optional\n        parameter ``lazy`` which will return a generator rather than\n        a list.\n        " #NEWLINE# if lazy : #NEWLINE# #INDENT# return self . _scan ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return list ( self )