File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818
1919import sys
2020
21+ from .vendor import typing
22+
23+ # Monkey patch the standard "typing" module because Python versions from 3.5.0 to 3.5.2 have a broken one.
24+ sys .modules ["typing" ] = typing
25+
2126__copyright__ = "Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>" .replace (
2227 "\xe8 " ,
2328 "e" if sys .getfilesystemencoding () != "utf-8" else "\xe8 "
Original file line number Diff line number Diff line change 1+ # Pyrogram - Telegram MTProto API Client Library for Python
2+ # Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
3+ #
4+ # This file is part of Pyrogram.
5+ #
6+ # Pyrogram is free software: you can redistribute it and/or modify
7+ # it under the terms of the GNU Lesser General Public License as published
8+ # by the Free Software Foundation, either version 3 of the License, or
9+ # (at your option) any later version.
10+ #
11+ # Pyrogram is distributed in the hope that it will be useful,
12+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
13+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+ # GNU Lesser General Public License for more details.
15+ #
16+ # You should have received a copy of the GNU Lesser General Public License
17+ # along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
18+
19+ from .typing import typing
Original file line number Diff line number Diff line change 1+ # Pyrogram - Telegram MTProto API Client Library for Python
2+ # Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
3+ #
4+ # This file is part of Pyrogram.
5+ #
6+ # Pyrogram is free software: you can redistribute it and/or modify
7+ # it under the terms of the GNU Lesser General Public License as published
8+ # by the Free Software Foundation, either version 3 of the License, or
9+ # (at your option) any later version.
10+ #
11+ # Pyrogram is distributed in the hope that it will be useful,
12+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
13+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+ # GNU Lesser General Public License for more details.
15+ #
16+ # You should have received a copy of the GNU Lesser General Public License
17+ # along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
You can’t perform that action at this time.
0 commit comments