-
Notifications
You must be signed in to change notification settings - Fork 644
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix for Python 3.7: re._pattern_type no longer exist (#849)
* fix for Python 3.7: re._pattern_type no longer exist * re._pattern_type was removed in Python 3.7. re.Pattern can be used instead. * Try re.Pattern first, and fall back to re._pattern_type otherwise. * Update try..except block to if..else for performance * Also add check in test_series.py to check for supported behavior in regex.
- Loading branch information
1 parent
6a51d9a
commit a824069
Showing
2 changed files
with
15 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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