Always use TypeAlias when assigning to Any (#8021)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-06-05 18:16:20 -07:00
1 parent a2ba0c8a00
commit 43a9ab08d7
17 files changed
+65 -45

No files matched your search

+2 -2
View File
@@ -876,8 +876,8 @@ class PercentStyle: # undocumented
def format(self, record: Any) -> str: ...
class StrFormatStyle(PercentStyle): # undocumented
fmt_spec = Any
field_spec = Any
fmt_spec: Pattern[str]
field_spec: Pattern[str]
class StringTemplateStyle(PercentStyle): # undocumented
_tpl: Template