mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-24 20:12:08 +08:00
Always use TypeAlias when assigning to Any (#8021)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user