From: Ben Darnell Date: Sat, 16 Mar 2013 14:34:00 +0000 (-0400) Subject: Turn on dangling-reference warning in sphinx for local builds. X-Git-Tag: v3.0.0~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4feeba25d1f25f7a29cd396ecb07efa43c906bd;p=thirdparty%2Ftornado.git Turn on dangling-reference warning in sphinx for local builds. Reformat the HTTPFile docs where were causing odd reference errors. --- diff --git a/docs/Makefile b/docs/Makefile index 1b8b30deb..97b258758 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,4 +1,4 @@ -SPHINXOPTS=-W -d build/doctrees . +SPHINXOPTS=-n -W -d build/doctrees . .PHONY: sphinx sphinx: diff --git a/tornado/httputil.py b/tornado/httputil.py index 3fd709b81..8a7c21397 100644 --- a/tornado/httputil.py +++ b/tornado/httputil.py @@ -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