Kaydet (Commit) c7bef374 authored tarafından Georg Brandl's avatar Georg Brandl

:func: et al. should *not* include the parens.

üst 2fb8a536
...@@ -319,8 +319,8 @@ a matching identifier is found: ...@@ -319,8 +319,8 @@ a matching identifier is found:
.. describe:: func .. describe:: func
The name of a Python function; dotted names may be used. The role text The name of a Python function; dotted names may be used. The role text
should include trailing parentheses to enhance readability. The parentheses should not include trailing parentheses to enhance readability. The
are stripped when searching for identifiers. parentheses are stripped when searching for identifiers.
.. describe:: data .. describe:: data
...@@ -338,7 +338,7 @@ a matching identifier is found: ...@@ -338,7 +338,7 @@ a matching identifier is found:
.. describe:: meth .. describe:: meth
The name of a method of an object. The role text should include the type The name of a method of an object. The role text should include the type
name, method name and the trailing parentheses. A dotted name may be used. name and the method name. A dotted name may be used.
.. describe:: attr .. describe:: attr
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment