mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 23:27:49 +01:00
Update CONTRIBUTING.rst
This commit is contained in:
parent
2471eaa778
commit
53a91be21f
1 changed files with 0 additions and 3 deletions
|
@ -151,9 +151,6 @@ Methods, functions and classes can specify optional parameters (with default
|
||||||
values) using Python's keyword arg syntax. When providing a value to such a
|
values) using Python's keyword arg syntax. When providing a value to such a
|
||||||
callable we prefer that the call also uses keyword arg syntax. For example::
|
callable we prefer that the call also uses keyword arg syntax. For example::
|
||||||
|
|
||||||
def f(required, optional=None):
|
|
||||||
pass
|
|
||||||
|
|
||||||
# GOOD
|
# GOOD
|
||||||
f(0, optional=True)
|
f(0, optional=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue