You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pep-0645.rst
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,8 +59,8 @@ The widespread adoption and popularity of these languages means that Python deve
59
59
// Optional in C#
60
60
string? example;
61
61
62
-
Adding this syntax would also follow the often used pattern of using builtin types as annotations. For example, `list`, `dict` and `None`. This would allow more annotations to be
63
-
added to Python code without importing from `typing`.
62
+
Adding this syntax would also follow the often used pattern of using builtin types as annotations. For example, ``list``, ``dict`` and ``None``. This would allow more annotations to be
63
+
added to Python code without importing from ``typing``.
64
64
65
65
66
66
Specification
@@ -107,7 +107,7 @@ Since the new Union syntax specified in PEP 604 is supported in ``isinstance`` a
107
107
isinstance(1, int?) # true
108
108
issubclass(Child, Super?) # true
109
109
110
-
A new dunder method will need to be implemented to allow the `?` operator to be overloaded for other functionality.
110
+
A new dunder method will need to be implemented to allow the ``?`` operator to be overloaded for other functionality.
0 commit comments