Skip to content

Commit bc038e7

Browse files
committed
Merge pull request #4010 from snth/typos
CLN: Added *.dta to the .gitignore. Fixed typo in comment. Removed import.
2 parents 462b10f + 6f51f20 commit bc038e7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ MANIFEST
1313
*.so
1414
*.pyd
1515
*.h5
16+
*.dta
1617
pandas/version.py
1718
doc/source/generated
1819
doc/source/_static
@@ -33,4 +34,4 @@ pandas/io/*.json
3334
.idea/libraries/sass_stdlib.xml
3435

3536
.idea/pandas.iml
36-
.build_cache_dir
37+
.build_cache_dir

pandas/tseries/offsets.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
# import after tools, dateutil check
77
from dateutil.relativedelta import relativedelta
8-
import pandas.lib as lib
98
import pandas.tslib as tslib
109

1110
__all__ = ['Day', 'BusinessDay', 'BDay', 'CustomBusinessDay', 'CDay',
@@ -50,7 +49,7 @@ class DateOffset(object):
5049
is:
5150
5251
def __add__(date):
53-
date = rollback(date) # does nothing is date is valid
52+
date = rollback(date) # does nothing if date is valid
5453
return date + <n number of periods>
5554
5655
When a date offset is created for a negitive number of periods,

0 commit comments

Comments
 (0)