original_docstring: 
          Non-recursive file listing.
  
          :returns: A generator over files in this "directory" for efficiency.
          
docstring: Non-recursive file listing.
docstring_tokens: Non - recursive file listing .
code: def list_dir(self):
          """
          Non-recursive file listing.
  
          :returns: A generator over files in this "directory" for efficiency.
          """
  
          bucket = self.s3_object.Bucket()
          prefix = self.s3_object.key
          if not prefix.endswith('/'): prefix += '/'
  
          for obj in bucket.objects.filter(Delimiter='/', Prefix=prefix):
              yield 's3://{}/{}'.format(obj.bucket_name, obj.key)
code_tokens: def list_dir ( self ) : bucket = self . s3_object . Bucket ( ) prefix = self . s3_object . key if not prefix . endswith ( '/' ) : prefix += '/' for obj in bucket . objects . filter ( Delimiter = '/' , Prefix = prefix ) : yield 's3://{}/{}' . format ( obj . bucket_name , obj . key )
short_docstring: Non-recursive file listing.
short_docstring_tokens: Non - recursive file listing .
comment: """
          Non-recursive file listing.
  
          :returns: A generator over files in this "directory" for efficiency.
          """