Fix formatting of status code example
@@ -4,6 +4,9 @@ r"""
The ``codes`` object defines a mapping from common names for HTTP statuses
to their numerical codes, accessible either as attributes or as dictionary
items.
+
+Example::
+
>>> import requests
>>> requests.codes['temporary_redirect']
307
