From 62e416899258336a23ee1da8469eaf72cb0df0a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Lipt=C3=A1k?= Date: Fri, 21 Jun 2013 21:10:34 -0400 Subject: [PATCH] Remove superfluous parentheses --- pandas/io/data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/io/data.py b/pandas/io/data.py index 2707fcad6a67b..03ccde6a2fcc1 100644 --- a/pandas/io/data.py +++ b/pandas/io/data.py @@ -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