Fix :type:-class field processing and add doc field markup to test suite.

This commit is contained in:
Georg Brandl
2010-01-17 13:51:41 +01:00
parent a6b1a17ad6
commit f78f0e616f
2 changed files with 44 additions and 19 deletions

View File

@@ -39,6 +39,23 @@ Testing object descriptions
.. function:: func_without_module2() -> annotation
.. class:: TimeInt
.. class:: Time(hour, minute, isdst)
:param hour: The year.
:type hour: TimeInt
:param TimeInt minute: The minute.
:param isdst: whether it's DST
:type isdst: * some complex
* expression
:returns: a new :class:`Time` instance
:rtype: :class:`Time`
:raises ValueError: if the values are out of range
:ivar int hour: like *hour*
:ivar minute: like *minute*
:vartype minute: int
C items
=======