diff options
| author | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-07-07 23:25:30 +0000 |
|---|---|---|
| committer | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-07-07 23:25:30 +0000 |
| commit | 8fe9a5c9e2913e4cea39c0660ee7e34d25a0a8b1 (patch) | |
| tree | f53d54d40f5fc0c4fd6c0f9b7af0f77dbc0c042e /docutils/nodes.py | |
| parent | f7067269fdfeeb21fcd825051da7727a286be988 (diff) | |
| download | docutils-8fe9a5c9e2913e4cea39c0660ee7e34d25a0a8b1.tar.gz | |
added docstring for system_message
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3669 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/nodes.py')
| -rw-r--r-- | docutils/nodes.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docutils/nodes.py b/docutils/nodes.py index 60af8298b..8ff275129 100644 --- a/docutils/nodes.py +++ b/docutils/nodes.py @@ -1240,6 +1240,13 @@ class entry(Part, Element): pass class system_message(Special, BackLinkable, PreBibliographic, Element): + """ + System message element. + + Do not instantiate this class directly; use + ``document.reporter.info/warning/error/severe()`` instead. + """ + def __init__(self, message=None, *children, **attributes): if message: p = paragraph('', message) |
