Skip to content

Commit

Permalink
Turn on dangling-reference warning in sphinx for local builds.
Browse files Browse the repository at this point in the history
Reformat the HTTPFile docs where were causing odd reference errors.
  • Loading branch information
bdarnell committed Mar 16, 2013
1 parent ae61c71 commit e4feeba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SPHINXOPTS=-W -d build/doctrees .
SPHINXOPTS=-n -W -d build/doctrees .

.PHONY: sphinx
sphinx:
Expand Down
7 changes: 3 additions & 4 deletions tornado/httputil.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,9 @@ class HTTPFile(ObjectDict):
"""Represents an HTTP file. For backwards compatibility, its instance
attributes are also accessible as dictionary keys.
:ivar filename:
:ivar body:
:ivar content_type: The content_type comes from the provided HTTP header
and should not be trusted outright given that it can be easily forged.
* ``filename``
* ``body``
* ``content_type``
"""
pass

Expand Down

0 comments on commit e4feeba

Please sign in to comment.