Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r70324:7a9f73156fdc Date: 2014-03-29 12:13 +0100 http://bitbucket.org/pypy/pypy/changeset/7a9f73156fdc/
Log: Document better diff --git a/rpython/rlib/rsre/rsre_re.py b/rpython/rlib/rsre/rsre_re.py --- a/rpython/rlib/rsre/rsre_re.py +++ b/rpython/rlib/rsre/rsre_re.py @@ -1,8 +1,9 @@ """ This is not used in a PyPy translation, but it can be used -in RPython code (at least the functions at the start of the -module, except the ones with NOT_RPYTHON). It exports the -same interface as the Python 're' module. +in RPython code. It exports the same interface as the +Python 're' module. You can call the functions at the start +of the module (expect the ones with NOT_RPYTHON for now). +They must be called with a *constant* pattern string. """ import re, sys from rpython.rlib.rsre import rsre_core, rsre_char _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit