mirror of
https://github.com/python/cpython.git
synced 2025-09-19 15:10:58 +00:00
[3.13] Typing docs: normalize some indents in code examples (GH-120912) (#120915)
Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com>
This commit is contained in:
parent
99f18ea689
commit
d6791cd933
1 changed files with 5 additions and 4 deletions
|
@ -98,7 +98,8 @@ Type aliases are useful for simplifying complex type signatures. For example::
|
||||||
# being exactly equivalent to this one.
|
# being exactly equivalent to this one.
|
||||||
def broadcast_message(
|
def broadcast_message(
|
||||||
message: str,
|
message: str,
|
||||||
servers: Sequence[tuple[tuple[str, int], dict[str, str]]]) -> None:
|
servers: Sequence[tuple[tuple[str, int], dict[str, str]]]
|
||||||
|
) -> None:
|
||||||
...
|
...
|
||||||
|
|
||||||
The :keyword:`type` statement is new in Python 3.12. For backwards
|
The :keyword:`type` statement is new in Python 3.12. For backwards
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue