Skip to content

Commit

Permalink
ArrowFactory.get: document kwargs locale and tzinfo (arrow-py#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
zmwangx authored and andrewelkins committed Jan 24, 2017
1 parent 56e5028 commit fd723b4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arrow/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ def __init__(self, type=Arrow):
def get(self, *args, **kwargs):
''' Returns an :class:`Arrow <arrow.arrow.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 <tz-expr>` 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
Expand Down

0 comments on commit fd723b4

Please sign in to comment.