Skip to content

Commit f909e1e

Browse files
committed
Fix "invalid escape" warnings
1 parent 7c98788 commit f909e1e

File tree

10 files changed

+20
-20
lines changed

10 files changed

+20
-20
lines changed

pyrogram/methods/advanced/save_file.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ async def save_file(
8282
The total size of the file.
8383
8484
*args (``tuple``, *optional*):
85-
Extra custom arguments as defined in the *progress_args* parameter.
86-
You can either keep *\*args* or add every single extra argument in your function signature.
85+
Extra custom arguments as defined in the ``progress_args`` parameter.
86+
You can either keep ``*args`` or add every single extra argument in your function signature.
8787
8888
Returns:
8989
``InputFile``: On success, the uploaded file is returned in form of an InputFile object.

pyrogram/methods/messages/download_media.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ async def download_media(
107107
The total size of the file.
108108
109109
*args (``tuple``, *optional*):
110-
Extra custom arguments as defined in the *progress_args* parameter.
111-
You can either keep *\*args* or add every single extra argument in your function signature.
110+
Extra custom arguments as defined in the ``progress_args`` parameter.
111+
You can either keep ``*args`` or add every single extra argument in your function signature.
112112
113113
Returns:
114114
``str`` | ``None``: On success, the absolute path of the downloaded file is returned, otherwise, in case

pyrogram/methods/messages/send_animation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ async def send_animation(
139139
The total size of the file.
140140
141141
*args (``tuple``, *optional*):
142-
Extra custom arguments as defined in the *progress_args* parameter.
143-
You can either keep *\*args* or add every single extra argument in your function signature.
142+
Extra custom arguments as defined in the ``progress_args`` parameter.
143+
You can either keep ``*args`` or add every single extra argument in your function signature.
144144
145145
Returns:
146146
:obj:`~pyrogram.types.Message` | ``None``: On success, the sent animation message is returned, otherwise,

pyrogram/methods/messages/send_audio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ async def send_audio(
135135
The total size of the file.
136136
137137
*args (``tuple``, *optional*):
138-
Extra custom arguments as defined in the *progress_args* parameter.
139-
You can either keep *\*args* or add every single extra argument in your function signature.
138+
Extra custom arguments as defined in the ``progress_args`` parameter.
139+
You can either keep ``*args`` or add every single extra argument in your function signature.
140140
141141
Returns:
142142
:obj:`~pyrogram.types.Message` | ``None``: On success, the sent audio message is returned, otherwise, in

pyrogram/methods/messages/send_document.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ async def send_document(
122122
The total size of the file.
123123
124124
*args (``tuple``, *optional*):
125-
Extra custom arguments as defined in the *progress_args* parameter.
126-
You can either keep *\*args* or add every single extra argument in your function signature.
125+
Extra custom arguments as defined in the ``progress_args`` parameter.
126+
You can either keep ``*args`` or add every single extra argument in your function signature.
127127
128128
Returns:
129129
:obj:`~pyrogram.types.Message` | ``None``: On success, the sent document message is returned, otherwise, in

pyrogram/methods/messages/send_photo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ async def send_photo(
116116
The total size of the file.
117117
118118
*args (``tuple``, *optional*):
119-
Extra custom arguments as defined in the *progress_args* parameter.
120-
You can either keep *\*args* or add every single extra argument in your function signature.
119+
Extra custom arguments as defined in the ``progress_args`` parameter.
120+
You can either keep ``*args`` or add every single extra argument in your function signature.
121121
122122
Returns:
123123
:obj:`~pyrogram.types.Message` | ``None``: On success, the sent photo message is returned, otherwise, in

pyrogram/methods/messages/send_sticker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ async def send_sticker(
9898
The total size of the file.
9999
100100
*args (``tuple``, *optional*):
101-
Extra custom arguments as defined in the *progress_args* parameter.
102-
You can either keep *\*args* or add every single extra argument in your function signature.
101+
Extra custom arguments as defined in the ``progress_args`` parameter.
102+
You can either keep ``*args`` or add every single extra argument in your function signature.
103103
104104
Returns:
105105
:obj:`~pyrogram.types.Message` | ``None``: On success, the sent sticker message is returned, otherwise,

pyrogram/methods/messages/send_video.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ async def send_video(
139139
The total size of the file.
140140
141141
*args (``tuple``, *optional*):
142-
Extra custom arguments as defined in the *progress_args* parameter.
143-
You can either keep *\*args* or add every single extra argument in your function signature.
142+
Extra custom arguments as defined in the ``progress_args`` parameter.
143+
You can either keep ``*args`` or add every single extra argument in your function signature.
144144
145145
Returns:
146146
:obj:`~pyrogram.types.Message` | ``None``: On success, the sent video message is returned, otherwise, in

pyrogram/methods/messages/send_video_note.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ async def send_video_note(
112112
The total size of the file.
113113
114114
*args (``tuple``, *optional*):
115-
Extra custom arguments as defined in the *progress_args* parameter.
116-
You can either keep *\*args* or add every single extra argument in your function signature.
115+
Extra custom arguments as defined in the ``progress_args`` parameter.
116+
You can either keep ``*args`` or add every single extra argument in your function signature.
117117
118118
Returns:
119119
:obj:`~pyrogram.types.Message` | ``None``: On success, the sent video note message is returned, otherwise,

pyrogram/methods/messages/send_voice.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ async def send_voice(
114114
The total size of the file.
115115
116116
*args (``tuple``, *optional*):
117-
Extra custom arguments as defined in the *progress_args* parameter.
118-
You can either keep *\*args* or add every single extra argument in your function signature.
117+
Extra custom arguments as defined in the ``progress_args`` parameter.
118+
You can either keep ``*args`` or add every single extra argument in your function signature.
119119
120120
Returns:
121121
:obj:`~pyrogram.types.Message` | ``None``: On success, the sent voice message is returned, otherwise, in

0 commit comments

Comments
 (0)