diff --git a/docs/conf.py b/docs/conf.py index fee4d89..229676e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -134,7 +134,7 @@ # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +# html_static_path = ['_static'] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied @@ -266,4 +266,4 @@ # Example configuration for intersphinx: refer to the Python standard library. -intersphinx_mapping = {'http://docs.python.org/': None} +intersphinx_mapping = {'python': ('http://docs.python.org/', None)} diff --git a/docs/narrative.rst b/docs/narrative.rst index 372f58f..3d373ef 100644 --- a/docs/narrative.rst +++ b/docs/narrative.rst @@ -245,9 +245,9 @@ library): .. doctest:: - >>> from six.moves import http_client + >>> import http.client >>> browser.open('http://localhost/@@/testbrowser/simple.html') - >>> isinstance(browser.headers, http_client.HTTPMessage) + >>> isinstance(browser.headers, http.client.HTTPMessage) True The headers can be accessed as a string: