use annotations to express type hint returning self

pull/112/head
Holger Mueller 2019-11-30 22:09:24 +01:00
rodzic 5cc454da14
commit 1e7faf1b1c
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -14,6 +14,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
from __future__ import annotations
import math
import decimal
from typing import NamedTuple, Union