parameters: (self, *args)
docstring: List a directory in long form.
          By default list current directory to stdout.
          Optional last argument is callback function; all
          non-empty arguments before it are concatenated to the
          LIST command.  (This *should* only be used for a pathname.)
docstring_summary: List a directory in long form.
          By default list current directory to stdout.
          Optional last argument is callback function; all
          non-empty arguments before it are concatenated to the
          LIST command.  (This *should* only be used for a pathname.)
docstring_tokens: List a directory in long form . By default list current directory to stdout . Optional last argument is callback function ; all non - empty arguments before it are concatenated to the LIST command . ( This * should * only be used for a pathname . )
function: def dir(self, *args):
          '''List a directory in long form.
          By default list current directory to stdout.
          Optional last argument is callback function; all
          non-empty arguments before it are concatenated to the
          LIST command.  (This *should* only be used for a pathname.)'''
          cmd = 'LIST'
          func = None
          if args[-1:] and type(args[-1]) != type(''):
              args, func = args[:-1], args[-1]
          for arg in args:
              if arg:
                  cmd = cmd + (' ' + arg)
          self.retrlines(cmd, func)
function_tokens: def dir ( self , * args ) : cmd = 'LIST' func = None if args [ - 1 : ] and type ( args [ - 1 ] ) != type ( '' ) : args , func = args [ : - 1 ] , args [ - 1 ] for arg in args : if arg : cmd = cmd + ( ' ' + arg ) self . retrlines ( cmd , func )