mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
#550: fix confusing example in docs.
This commit is contained in:
parent
33fb06bca6
commit
3e8834503f
@ -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
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
Loading…
Reference in New Issue
Block a user