Change "iff" -> "if" in example docstrings.
This commit is contained in:
parent
68ef9a665b
commit
2ec55d541d
|
@ -1916,7 +1916,7 @@ Example::
|
||||||
|
|
||||||
def send_email(address, sender, cc, bcc, subject, body):
|
def send_email(address, sender, cc, bcc, subject, body):
|
||||||
# type: (...) -> bool
|
# type: (...) -> bool
|
||||||
"""Send an email message. Return True iff successful."""
|
"""Send an email message. Return True if successful."""
|
||||||
<code>
|
<code>
|
||||||
|
|
||||||
Sometimes you have a long list of parameters and specifying their
|
Sometimes you have a long list of parameters and specifying their
|
||||||
|
@ -1935,7 +1935,7 @@ last argument (if any) should precede the close parenthesis. Example::
|
||||||
body=None # type: List[str]
|
body=None # type: List[str]
|
||||||
):
|
):
|
||||||
# type: (...) -> bool
|
# type: (...) -> bool
|
||||||
"""Send an email message. Return True iff successful."""
|
"""Send an email message. Return True if successful."""
|
||||||
<code>
|
<code>
|
||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
|
|
Loading…
Reference in New Issue