Ticket #6525: t6525-docs.diff

File t6525-docs.diff, 554 bytes (added by Alex Gaynor, 6 years ago)
  • doc/core/howto/constants.xhtml

     
    236236        Return True if the given status is associated with a response body,
    237237        False otherwise.
    238238        """
    239         return status in (cls.NO_CONTENT, cls.NOT_MODIFIED)
     239        return status not in (cls.NO_CONTENT, cls.NOT_MODIFIED)
    240240  </pre>
    241241
    242242  <p>This functionality can be used as any class methods are used:</p>