From f2c8663266dddd5d08024fead5b01c9d8e50bba6 Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Sat, 28 Jul 2018 11:28:02 +0200 Subject: [PATCH] Fix copy pasted docs and snake_case files --- telethon/client/uploads.py | 2 +- telethon/tl/custom/__init__.py | 2 +- .../tl/custom/{input_sized_file.py => inputsizedfile.py} | 0 telethon/tl/custom/messagebutton.py | 6 +++--- 4 files changed, 5 insertions(+), 5 deletions(-) rename telethon/tl/custom/{input_sized_file.py => inputsizedfile.py} (100%) diff --git a/telethon/client/uploads.py b/telethon/client/uploads.py index 09577ecb..60529eba 100644 --- a/telethon/client/uploads.py +++ b/telethon/client/uploads.py @@ -274,7 +274,7 @@ class UploadMethods(ButtonMethods, MessageParseMethods, UserMethods): Returns: :tl:`InputFileBig` if the file size is larger than 10MB, - `telethon.tl.custom.input_sized_file.InputSizedFile` + `telethon.tl.custom.inputsizedfile.InputSizedFile` (subclass of :tl:`InputFile`) otherwise. """ if isinstance(file, (types.InputFile, types.InputFileBig)): diff --git a/telethon/tl/custom/__init__.py b/telethon/tl/custom/__init__.py index 6f15892c..72f8e95e 100644 --- a/telethon/tl/custom/__init__.py +++ b/telethon/tl/custom/__init__.py @@ -1,6 +1,6 @@ from .draft import Draft from .dialog import Dialog -from .input_sized_file import InputSizedFile +from .inputsizedfile import InputSizedFile from .messagebutton import MessageButton from .forward import Forward from .message import Message diff --git a/telethon/tl/custom/input_sized_file.py b/telethon/tl/custom/inputsizedfile.py similarity index 100% rename from telethon/tl/custom/input_sized_file.py rename to telethon/tl/custom/inputsizedfile.py diff --git a/telethon/tl/custom/messagebutton.py b/telethon/tl/custom/messagebutton.py index 1bfc53a4..6145d507 100644 --- a/telethon/tl/custom/messagebutton.py +++ b/telethon/tl/custom/messagebutton.py @@ -5,9 +5,9 @@ import webbrowser class MessageButton: """ - Custom class that encapsulates a message providing an abstraction to - easily access some commonly needed features (such as the markdown text - or the text for a given message entity). + Custom class that encapsulates a message button providing + an abstraction to easily access some commonly needed features + (such as clicking the button itself). Attributes: