#NEWLINE# def GetBufferLines( self , number ) : #NEWLINE# #INDENT# 'Gets the lines in the requested buffer.\n\n    Args:\n      number: The buffer number to load. SHOULD NOT be a member of\n          SpecialBuffer, use GetMessages if you want messages. Only works on\n          real buffers.\n    Returns:\n      The buffer lines.\n    ' #NEWLINE# if ( number not in self . _cache ) : #NEWLINE# #INDENT# if ( number is None ) : #NEWLINE# #INDENT# buf = self . nvim_unicode . current . buffer #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# for b in self . nvim_unicode . buffers : #NEWLINE# #INDENT# if ( b . number == number ) : #NEWLINE# #INDENT# buf = b #NEWLINE# break #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# self . _cache [ number ] = list ( b ) #NEWLINE# #UNINDENT# return self . _cache [ number ]