Skip to content

Commit

Permalink
Remove superfluous parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
gliptak committed Jun 22, 2013
1 parent ae388a2 commit 62e4168
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandas/io/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -877,11 +877,11 @@ def get_near_stock_price(self, above_below=2, call=True, put=False,
return chop_put

def _try_parse_dates(self, year, month, expiry):
if (year is not None or month is not None):
if year is not None or month is not None:
warnings.warn("month, year arguments are deprecated, use expiry instead",
FutureWarning)

if (expiry is not None):
if expiry is not None:
year=expiry.year
month=expiry.month
return year, month
Expand Down

0 comments on commit 62e4168

Please sign in to comment.