docs/ure: Add flags arg to ure.compile(), mention that ure.DEBUG is optional.

pull/3414/head
Paul Sokolovsky 2017-11-04 00:26:31 +02:00
rodzic 1742ab2653
commit ad5a6f5917
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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: