summaryrefslogtreecommitdiff
path: root/docs/library
diff options
context:
space:
mode:
authorYonatan Goldschmidt <yon.goldschmidt@gmail.com>2019-02-07 23:48:34 +0200
committerDamien George <damien.p.george@gmail.com>2019-02-08 17:06:19 +1100
commita0d60c574a96bb873b0e6822d009031fd5fa3a77 (patch)
tree4f3fb43158a5f791d15628f93fbf376da16b27c6 /docs/library
parentb546e4b7e9558ea03f461ae1a54bf14e6606aecb (diff)
docs/ure: Fix match.group signature to indicate index param is required.
Diffstat (limited to 'docs/library')
-rw-r--r--docs/library/ure.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/library/ure.rst b/docs/library/ure.rst
index d2615e37d..ac5f02f9e 100644
--- a/docs/library/ure.rst
+++ b/docs/library/ure.rst
@@ -175,7 +175,7 @@ Match objects
Match objects as returned by `match()` and `search()` methods, and passed
to the replacement function in `sub()`.
-.. method:: match.group([index])
+.. method:: match.group(index)
Return matching (sub)string. *index* is 0 for entire match,
1 and above for each capturing group. Only numeric groups are supported.