We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 209ac45 commit af76b65Copy full SHA for af76b65
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