mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-02 17:47:29 +08:00
Fix some errors with --disallow-any-generics (#3276)
See #3267. Covers all of stdlib/2and3.
This commit is contained in:
1 parent
1e881ad156
commit
b336182b69
27 files changed
+85
-92
No files matched your search
@@ -3,7 +3,7 @@
|
||||
from typing import Pattern, Dict, Generator, Tuple, List, Union, TypeVar, Callable, Optional
|
||||
from xml.etree.ElementTree import Element
|
||||
|
||||
xpath_tokenizer_re: Pattern
|
||||
xpath_tokenizer_re: Pattern[str]
|
||||
|
||||
_token = Tuple[str, str]
|
||||
_next = Callable[[], _token]
|
||||
|
||||
Reference in new issue
Block a user