Another two micro-optimizations by ilevkivskyi · Pull Request #19633 · python/mypy

Diff from mypy_primer, showing the effect of this PR on open source code:

ibis (https://github.com/ibis-project/ibis)
- ibis/backends/sql/compilers/athena.py:16: error: Incompatible types in assignment (expression has type tuple[type[Median], type[RowID], ... <14 more items>], base class "TrinoCompiler" defined the type as tuple[type[Median], type[RowID], type[TimestampBucket], type[StringToTime]])  [assignment]
+ ibis/backends/sql/compilers/athena.py:16: error: Incompatible types in assignment (expression has type "tuple[type[Median], type[RowID], ... <14 more items>]", base class "TrinoCompiler" defined the type as "tuple[type[Median], type[RowID], type[TimestampBucket], type[StringToTime]]")  [assignment]

apprise (https://github.com/caronc/apprise)
- apprise/cli.py:173: error: Incompatible types in assignment (expression has type tuple[str, str, ... <18 more items>], variable has type tuple[str, str, ... <21 more items>])  [assignment]
+ apprise/cli.py:173: error: Incompatible types in assignment (expression has type "tuple[str, str, ... <18 more items>]", variable has type "tuple[str, str, ... <21 more items>]")  [assignment]
- apprise/plugins/signal_api.py:73: error: Incompatible types in assignment (expression has type tuple[str, str, ... <10 more items>], base class "URLBase" defined the type as tuple[()])  [assignment]
+ apprise/plugins/signal_api.py:73: error: Incompatible types in assignment (expression has type "tuple[str, str, ... <10 more items>]", base class "URLBase" defined the type as "tuple[()]")  [assignment]
- apprise/plugins/notica.py:96: error: Incompatible types in assignment (expression has type tuple[str, str, ... <11 more items>], base class "URLBase" defined the type as tuple[()])  [assignment]
+ apprise/plugins/notica.py:96: error: Incompatible types in assignment (expression has type "tuple[str, str, ... <11 more items>]", base class "URLBase" defined the type as "tuple[()]")  [assignment]
- apprise/plugins/enigma2.py:90: error: Incompatible types in assignment (expression has type tuple[str, str, ... <10 more items>], base class "URLBase" defined the type as tuple[()])  [assignment]
+ apprise/plugins/enigma2.py:90: error: Incompatible types in assignment (expression has type "tuple[str, str, ... <10 more items>]", base class "URLBase" defined the type as "tuple[()]")  [assignment]
- apprise/plugins/email/base.py:95: error: Incompatible types in assignment (expression has type tuple[str, str, ... <10 more items>], base class "URLBase" defined the type as tuple[()])  [assignment]
+ apprise/plugins/email/base.py:95: error: Incompatible types in assignment (expression has type "tuple[str, str, ... <10 more items>]", base class "URLBase" defined the type as "tuple[()]")  [assignment]