Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions pep-0483.txt
Original file line number Diff line number Diff line change
Expand Up @@ -738,11 +738,6 @@ are still controversial or not fully specified.)
class MyComparable:
def compare(self, other: 'MyComparable') -> int: ...

- If a default of ``None`` is specified, the type is implicitly
``Optional``, e.g.::

def get(key: KT, default: VT = None) -> VT: ...

- Type variables can be declared in unconstrained, constrained,
or bounded form. The variance of a generic type can also
be indicated using a type variable declared with special keyword
Expand Down