parent
e642c5a58e
commit
9528786fa7
|
@ -372,7 +372,7 @@ generic manner. Consider two examples:
|
|||
examples[2] = None # rejected by the type checker
|
||||
|
||||
- The following function can take two arguments of type ``int`` and return
|
||||
an ``int``, of take two arguments of type ``float`` and return
|
||||
an ``int``, or take two arguments of type ``float`` and return
|
||||
a ``float``, etc.::
|
||||
|
||||
def add(x, y):
|
||||
|
|
Loading…
Reference in New Issue