From 2b580ca70672c6003125ec926003dafc74f516be Mon Sep 17 00:00:00 2001 From: Yevhen Amelin Date: Sat, 27 Oct 2018 12:07:20 +0300 Subject: [PATCH] Fix typos in docstrings --- googlemaps/geocoding.py | 4 ++-- googlemaps/places.py | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/googlemaps/geocoding.py b/googlemaps/geocoding.py index a2913cf9..b665d776 100644 --- a/googlemaps/geocoding.py +++ b/googlemaps/geocoding.py @@ -43,7 +43,7 @@ def geocode(client, address=None, components=None, bounds=None, region=None, :type region: string :param language: The language in which to return results. - :type langauge: string + :type language: string :rtype: list of geocoding results. """ @@ -85,7 +85,7 @@ def reverse_geocode(client, latlng, result_type=None, location_type=None, :type location_type: list of strings :param language: The language in which to return results. - :type langauge: string + :type language: string :rtype: list of reverse geocoding results. """ diff --git a/googlemaps/places.py b/googlemaps/places.py index 7324c253..7c2277a9 100644 --- a/googlemaps/places.py +++ b/googlemaps/places.py @@ -80,7 +80,7 @@ def find_place(client, input, input_type, fields=None, location_bias=None, :type location_bias: string :param language: The language in which to return results. - :type langauge: string + :type language: string :rtype: result dict with the following keys: status: status code @@ -132,7 +132,7 @@ def places(client, query, location=None, radius=None, language=None, :type radius: int :param language: The language in which to return results. - :type langauge: string + :type language: string :param min_price: Restricts results to only those places with no less than this price level. Valid values are in the range from 0 (most affordable) @@ -194,7 +194,7 @@ def places_nearby(client, location=None, radius=None, keyword=None, :type keyword: string :param language: The language in which to return results. - :type langauge: string + :type language: string :param min_price: Restricts results to only those places with no less than this price level. Valid values are in the range from 0 @@ -459,7 +459,7 @@ def places_autocomplete(client, input_text, session_token, offset=None, :type radius: int :param language: The language in which to return results. - :type langauge: string + :type language: string :param types: Restricts the results to places matching the specified type. The full list of supported types is available here: @@ -506,7 +506,7 @@ def places_autocomplete_query(client, input_text, offset=None, location=None, :type radius: number :param language: The language in which to return results. - :type langauge: string + :type language: string :rtype: list of predictions """