#550: fix confusing example in docs.

This commit is contained in:
Georg Brandl 2010-11-12 08:26:20 +01:00
parent 33fb06bca6
commit 3e8834503f

View File

@ -288,11 +288,6 @@ explained by an example::
:type limit: integer or None
:rtype: list of strings
It is also possible to combine parameter type and description, if the type is a
single word, like this::
:param integer limit: maximum number of stack frames to show
This will render like this:
.. py:function:: format_exception(etype, value, tb[, limit=None])
@ -307,6 +302,11 @@ This will render like this:
:type limit: integer or None
:rtype: list of strings
It is also possible to combine parameter type and description, if the type is a
single word, like this::
:param integer limit: maximum number of stack frames to show
Cross-referencing Python objects
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~