From ba254e6643ea24cfd62b88078a2de586b3b2364d Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Tue, 24 Apr 2018 15:05:08 +0200 Subject: [PATCH] Clean Location type --- pyrogram/client/types/location.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyrogram/client/types/location.py b/pyrogram/client/types/location.py index 96e8cdea..30e7c788 100644 --- a/pyrogram/client/types/location.py +++ b/pyrogram/client/types/location.py @@ -31,10 +31,9 @@ class Location(Object): latitude (``float`` ``64-bit``): Latitude as defined by sender. - """ ID = 0xb0700012 - def __init__(self, longitude, latitude): + def __init__(self, longitude: float, latitude: float): self.longitude = longitude # double self.latitude = latitude # double