Skip to content

Commit 62e4168

Browse files
committed
Remove superfluous parentheses
1 parent ae388a2 commit 62e4168

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/io/data.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -877,11 +877,11 @@ def get_near_stock_price(self, above_below=2, call=True, put=False,
877877
return chop_put
878878

879879
def _try_parse_dates(self, year, month, expiry):
880-
if (year is not None or month is not None):
880+
if year is not None or month is not None:
881881
warnings.warn("month, year arguments are deprecated, use expiry instead",
882882
FutureWarning)
883883

884-
if (expiry is not None):
884+
if expiry is not None:
885885
year=expiry.year
886886
month=expiry.month
887887
return year, month

0 commit comments

Comments
 (0)