File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,9 @@ Type aliases are useful for simplifying complex type signatures. For example::
97
97
# The static type checker will treat the previous type signature as
98
98
# being exactly equivalent to this one.
99
99
def broadcast_message(
100
- message: str,
101
- servers: Sequence[tuple[tuple[str, int], dict[str, str]]]) -> None:
100
+ message: str,
101
+ servers: Sequence[tuple[tuple[str, int], dict[str, str]]]
102
+ ) -> None:
102
103
...
103
104
104
105
The :keyword: `type ` statement is new in Python 3.12. For backwards
@@ -1871,8 +1872,8 @@ without the dedicated syntax, as documented below.
1871
1872
of ``*args ``::
1872
1873
1873
1874
def call_soon[*Ts](
1874
- callback: Callable[[*Ts], None],
1875
- *args: *Ts
1875
+ callback: Callable[[*Ts], None],
1876
+ *args: *Ts
1876
1877
) -> None:
1877
1878
...
1878
1879
callback(*args)
You can’t perform that action at this time.
0 commit comments