Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
bfc8fe4d
Commit
bfc8fe4d
authored
Aug 02, 2010
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document how to refer to decorators and decorator methods.
parent
283b1255
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
Doc/documenting/markup.rst
Doc/documenting/markup.rst
+5
-0
No files found.
Doc/documenting/markup.rst
View file @
bfc8fe4d
...
...
@@ -205,6 +205,9 @@ The directives are:
Set
name
of
the
decorated
function
to
*
name
*.
There
is
no
``
deco
``
role
to
link
to
a
decorator
that
is
marked
up
with
this
directive
;
rather
,
use
the
``:
func
:``
role
.
..
describe
::
class
Describes
a
class
.
The
signature
can
include
parentheses
with
parameters
...
...
@@ -226,6 +229,8 @@ The directives are:
Same
as
``
decorator
``,
but
for
decorators
that
are
methods
.
Refer
to
a
decorator
method
using
the
``:
meth
:``
role
.
..
describe
::
opcode
Describes
a
Python
:
term
:`
bytecode
`
instruction
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment