File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,8 +136,8 @@ CONS:
136136 Pytype, and who knows what else (it's a minor change see "Reference Implementation"
137137
138138
139- Change only PEP 484 (Type hints) to accept the syntax ``type1 | type2 `` ?
140- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
139+ 2. Change only PEP 484 (Type hints) to accept the syntax ``type1 | type2 `` ?
140+ ----------------------------------------------------------------------------
141141
142142PEP 563 (Postponed Evaluation of Annotations) is enough to accept this proposition,
143143if we accept to not be compatible with the dynamic evaluation of annotations (``eval() ``).
@@ -153,7 +153,7 @@ if we accept to not be compatible with the dynamic evaluation of annotations (``
153153 File "<string>", line 1, in <module>
154154 TypeError: unsupported operand type(s) for |: 'type' and 'type'
155155
156- 2 . Extend ``isinstance() `` and ``issubclass() `` to accept ``Union `` ?
156+ 3 . Extend ``isinstance() `` and ``issubclass() `` to accept ``Union `` ?
157157---------------------------------------------------------------------
158158
159159::
You can’t perform that action at this time.
0 commit comments