Skip to content

Commit a1509dc

Browse files
gfyoungjowens
authored andcommitted
MAINT: Remove extra the's in deprecation messages (pandas-dev#17222)
1 parent 1e1ce40 commit a1509dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/json.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
import warnings
44
warnings.warn("The pandas.json module is deprecated and will be "
55
"removed in a future version. Please import from "
6-
"the pandas.io.json instead", FutureWarning, stacklevel=2)
6+
"pandas.io.json instead", FutureWarning, stacklevel=2)
77
from pandas._libs.json import dumps, loads

pandas/parser.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
import warnings
44
warnings.warn("The pandas.parser module is deprecated and will be "
55
"removed in a future version. Please import from "
6-
"the pandas.io.parser instead", FutureWarning, stacklevel=2)
6+
"pandas.io.parser instead", FutureWarning, stacklevel=2)
77
from pandas._libs.parsers import na_values
88
from pandas.io.common import CParserError

0 commit comments

Comments
 (0)