We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 164f8fa commit a108290Copy full SHA for a108290
pep-0483.txt
@@ -738,11 +738,6 @@ are still controversial or not fully specified.)
738
class MyComparable:
739
def compare(self, other: 'MyComparable') -> int: ...
740
741
-- If a default of ``None`` is specified, the type is implicitly
742
- ``Optional``, e.g.::
743
-
744
- def get(key: KT, default: VT = None) -> VT: ...
745
746
- Type variables can be declared in unconstrained, constrained,
747
or bounded form. The variance of a generic type can also
748
be indicated using a type variable declared with special keyword
0 commit comments