Skip to content

Commit

Permalink
Merge pull request #127 from sbonnick/master
Browse files Browse the repository at this point in the history
Issue #126 - removed inheritance from object and removed return value…
  • Loading branch information
bear committed Sep 24, 2015
2 parents a386e95 + f7e7e93 commit b1657cc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions parsedatetime/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def _parse_date_rfc822(dateString):
VERSION_CONTEXT_STYLE = 2


class Calendar(object):
class Calendar:
"""
A collection of routines to input, parse and manipulate date and times.
The text can either be 'normal' date values or it can be human readable.
Expand All @@ -271,9 +271,6 @@ def __init__(self, constants=None, version=VERSION_FLAG_STYLE):
@param version: Default style version of current Calendar instance.
Valid value can be 1 (L{VERSION_FLAG_STYLE}) or
2 (L{VERSION_CONTEXT_STYLE}). See L{parse()}.
@rtype: object
@return: L{Calendar} instance
"""
# if a constants reference is not included, use default
if constants is None:
Expand Down

0 comments on commit b1657cc

Please sign in to comment.