summaryrefslogtreecommitdiff
path: root/sphinx/domains/rst.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/domains/rst.py')
-rw-r--r--sphinx/domains/rst.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/sphinx/domains/rst.py b/sphinx/domains/rst.py
index 6b3e05eec..fa3b4f1a0 100644
--- a/sphinx/domains/rst.py
+++ b/sphinx/domains/rst.py
@@ -59,9 +59,10 @@ class ReSTMarkup(ObjectDescription):
def parse_directive(d):
- """
- Parses a directive signature. Returns (directive, arguments) string tuple.
- if no arguments are given, returns (directive, '').
+ """Parse a directive signature.
+
+ Returns (directive, arguments) string tuple. If no arguments are given,
+ returns (directive, '').
"""
dir = d.strip()
if not dir.startswith('.'):