Add regex stubs (#6713)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
Joseph Young
2021-12-30 19:15:42 +00:00
committed by GitHub
parent 0f7dbd811e
commit fbf5982d4d
6 changed files with 395 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
# These classes are defined in regex/_regex.c and are returned by the public API functions.
# The stubs are defined in regex/_regex.pyi but these classes aren't present at runtime.
regex._regex.Match
regex._regex.Pattern
regex._regex.Scanner
regex._regex.Splitter