Update the escape() documentation

Create issue
Issue #268 resolved
Serhiy Storchaka created an issue

Since regex.escape() uses special_only=True by default, the documentation should contain an example for special_only=False instead of special_only=True.

The literal_spaces parameter is not documented at all.

The function and module docstrings perhaps needs to be updated too.

Comments (1)

  1. Log in to comment