parameters: (self)
return_statement: return ('location' in self.headers and self.status_code in (codes.moved_permanently, codes.permanent_redirect))
docstring: True if this Response one of the permanant versions of redirect
docstring_summary: True if this Response one of the permanant versions of redirect
docstring_tokens: True if this Response one of the permanant versions of redirect
function: def is_permanent_redirect(self):
          """True if this Response one of the permanant versions of redirect"""
          return ('location' in self.headers and self.status_code in (codes.moved_permanently, codes.permanent_redirect))
function_tokens: def is_permanent_redirect ( self ) : return ( 'location' in self . headers and self . status_code in ( codes . moved_permanently , codes . permanent_redirect ) )