mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-10 15:25:49 +08:00
1 parent
7ffeb66a13
commit
2aa7d2dd7b
1 file changed
+2
@@ -5,6 +5,8 @@ from typing import Any, Protocol
|
||||
if sys.version_info >= (3, 7):
|
||||
from py_compile import PycInvalidationMode
|
||||
|
||||
__all__ = ["compile_dir", "compile_file", "compile_path"]
|
||||
|
||||
class _SupportsSearch(Protocol):
|
||||
def search(self, string: str) -> Any: ...
|
||||
|
||||
|
||||
Reference in new issue
Block a user