We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d44a6b commit 8d17d2bCopy full SHA for 8d17d2b
Doc/library/stdtypes.rst
@@ -5065,7 +5065,7 @@ instantiated from the type::
5065
5066
>>> class M(type):
5067
... def __or__(self, other):
5068
- ... return "Hello"
+ ... return "Hello"
5069
...
5070
>>> class C(metaclass=M):
5071
... pass
Doc/whatsnew/3.10.rst
@@ -120,8 +120,8 @@ See :pep:`613` for more details.
120
121
(Contributed by Mikhail Golubev in :issue:`41923`.)
122
123
-PEP604: New Type Union Operator
124
--------------------------------
+PEP 604: New Type Union Operator
+--------------------------------
125
126
A new type union operator was introduced which enables the syntax ``X | Y``.
127
This provides a cleaner way of expressing 'either type X or type Y' instead of
0 commit comments