From c5a86bc69cfabdc134839692644585e5f0460cdf Mon Sep 17 00:00:00 2001 From: apalala Date: Tue, 14 Nov 2023 15:52:19 -0400 Subject: [PATCH] [readme] formatting --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index be039d8..3e521e1 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Now comes the other ugly part. When using type annotations, the above function in a way so that type checkers do not complain about using ``None`` as the default value: ```python ->>> def f(x: list[Any] | None = None) -> list[Any]: +def f(x: list[Any] | None = None) -> list[Any]: ``` Another problem with the above declaration is that calling ``f(None)`` passes type checking,