gh-56166: Deprecate passing confusing positional arguments in re functions by serhiy-storchaka · Pull Request #107778 · python/cpython
…e functions Deprecate passing optional arguments maxsplit, count and flags in module-level functions re.split(), re.sub() and re.subn() as positional. They should only be passed by keyword.
miketheman added a commit to miketheman/pytest-postgresql that referenced this pull request
In Python 3.13, usage of a positional argument for `maxsplit` has been formally deprecated. Refs: python/cpython#107778 Signed-off-by: Mike Fiedler <miketheman@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters