summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-11-04 00:26:31 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-11-04 00:26:31 +0200
commitad5a6f591796c2dec6e91e9da147eaa7e9ee72a7 (patch)
treef5167974ecc55d3fd5e40673d6180627fb5c51ea
parent1742ab265392bde711f4debcd49a42c586540929 (diff)
downloadmicropython-ad5a6f591796c2dec6e91e9da147eaa7e9ee72a7.tar.gz
micropython-ad5a6f591796c2dec6e91e9da147eaa7e9ee72a7.zip
docs/ure: Add flags arg to ure.compile(), mention that ure.DEBUG is optional.
-rw-r--r--docs/library/ure.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/library/ure.rst b/docs/library/ure.rst
index ebae1db5f1..9a5a87fb65 100644
--- a/docs/library/ure.rst
+++ b/docs/library/ure.rst
@@ -47,7 +47,7 @@ etc. are not supported.
Functions
---------
-.. function:: compile(regex_str)
+.. function:: compile(regex_str, [flags])
Compile regular expression, return `regex <regex>` object.
@@ -65,6 +65,7 @@ Functions
.. data:: DEBUG
Flag value, display debug information about compiled expression.
+ (Availability depends on `MicroPython port`.)
.. _regex: