aboutsummaryrefslogtreecommitdiff
path: root/python/docs/epytext.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/docs/epytext.py')
-rw-r--r--python/docs/epytext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/docs/epytext.py b/python/docs/epytext.py
index 61d731bff5..19fefbfc05 100644
--- a/python/docs/epytext.py
+++ b/python/docs/epytext.py
@@ -5,7 +5,7 @@ RULES = (
(r"L{([\w.()]+)}", r":class:`\1`"),
(r"[LC]{(\w+\.\w+)\(\)}", r":func:`\1`"),
(r"C{([\w.()]+)}", r":class:`\1`"),
- (r"[IBCM]{(.+)}", r"`\1`"),
+ (r"[IBCM]{([^}]+)}", r"`\1`"),
('pyspark.rdd.RDD', 'RDD'),
)