Update pep-362 text.
This commit is contained in:
parent
c56a901517
commit
5cbc40c873
|
@ -90,8 +90,8 @@ make a modified copy:
|
|||
True
|
||||
|
||||
>>> new_sig = new_sig.replace(return_annotation=new_sig.empty)
|
||||
>>> hasattr(new_sig, "return_annotation")
|
||||
False
|
||||
>>> new_sig.return_annotation is Signature.empty
|
||||
True
|
||||
|
||||
There are two ways to instantiate a Signature class:
|
||||
|
||||
|
|
Loading…
Reference in New Issue