From fd723b46a6d84ea75af329fe78da6afaf27dfeba Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Tue, 24 Jan 2017 17:48:30 -0500 Subject: [PATCH] ArrowFactory.get: document kwargs locale and tzinfo (#411) --- arrow/factory.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arrow/factory.py b/arrow/factory.py index 8fae51fda..6c33bbb26 100644 --- a/arrow/factory.py +++ b/arrow/factory.py @@ -32,6 +32,12 @@ def __init__(self, type=Arrow): def get(self, *args, **kwargs): ''' Returns an :class:`Arrow ` object based on flexible inputs. + :param locale: (optional) a ``str`` specifying a locale for the parser. Defaults to + 'en_us'. + :param tzinfo: (optional) a :ref:`timezone expression ` or tzinfo object. + Replaces the timezone unless using an input form that is explicitly UTC or specifies + the timezone in a positional argument. Defaults to UTC. + Usage:: >>> import arrow