Fix docstring for argument being optional

This commit is contained in:
Dan 2018-05-12 11:21:02 +02:00
parent 24fd8ad1cf
commit b9156453da
9 changed files with 9 additions and 9 deletions

View File

@ -65,7 +65,7 @@ class DownloadMedia(BaseClient):
total (``int``):
The size of the file.
*args (``tuple``):
*args (``tuple``, *optional*):
Extra custom arguments as defined in the *progress_args* parameter.
You can either keep *\*args* or add every single extra argument in your function signature.

View File

@ -104,7 +104,7 @@ class SendAudio(BaseClient):
total (``int``):
The size of the file.
*args (``tuple``):
*args (``tuple``, *optional*):
Extra custom arguments as defined in the *progress_args* parameter.
You can either keep *\*args* or add every single extra argument in your function signature.

View File

@ -90,7 +90,7 @@ class SendDocument(BaseClient):
total (``int``):
The size of the file.
*args (``tuple``):
*args (``tuple``, *optional*):
Extra custom arguments as defined in the *progress_args* parameter.
You can either keep *\*args* or add every single extra argument in your function signature.

View File

@ -108,7 +108,7 @@ class SendGIF(BaseClient):
total (``int``):
The size of the file.
*args (``tuple``):
*args (``tuple``, *optional*):
Extra custom arguments as defined in the *progress_args* parameter.
You can either keep *\*args* or add every single extra argument in your function signature.

View File

@ -95,7 +95,7 @@ class SendPhoto(BaseClient):
total (``int``):
The size of the file.
*args (``tuple``):
*args (``tuple``, *optional*):
Extra custom arguments as defined in the *progress_args* parameter.
You can either keep *\*args* or add every single extra argument in your function signature.

View File

@ -79,7 +79,7 @@ class SendSticker(BaseClient):
total (``int``):
The size of the file.
*args (``tuple``):
*args (``tuple``, *optional*):
Extra custom arguments as defined in the *progress_args* parameter.
You can either keep *\*args* or add every single extra argument in your function signature.

View File

@ -112,7 +112,7 @@ class SendVideo(BaseClient):
total (``int``):
The size of the file.
*args (``tuple``):
*args (``tuple``, *optional*):
Extra custom arguments as defined in the *progress_args* parameter.
You can either keep *\*args* or add every single extra argument in your function signature.

View File

@ -88,7 +88,7 @@ class SendVideoNote(BaseClient):
total (``int``):
The size of the file.
*args (``tuple``):
*args (``tuple``, *optional*):
Extra custom arguments as defined in the *progress_args* parameter.
You can either keep *\*args* or add every single extra argument in your function signature.

View File

@ -94,7 +94,7 @@ class SendVoice(BaseClient):
total (``int``):
The size of the file.
*args (``tuple``):
*args (``tuple``, *optional*):
Extra custom arguments as defined in the *progress_args* parameter.
You can either keep *\*args* or add every single extra argument in your function signature.