Skip to content

Commit 9d74cf1

Browse files
committed
Use default form of deprecate_nonkeyword_arguments.
1 parent 96bab9e commit 9d74cf1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/io/html.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ def _parse(flavor, io, match, attrs, encoding, displayed_only, **kwargs):
921921
return ret
922922

923923

924-
@deprecate_nonkeyword_arguments(version="1.1", allowed_args=["io"])
924+
@deprecate_nonkeyword_arguments(version="1.1")
925925
def read_html(
926926
io,
927927
match=".+",

pandas/io/json/_json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def _write(
332332
return serialized
333333

334334

335-
@deprecate_nonkeyword_arguments(version="1.1", allowed_args=["path_or_buf"])
335+
@deprecate_nonkeyword_arguments(version="1.1")
336336
def read_json(
337337
path_or_buf=None,
338338
orient=None,

0 commit comments

Comments
 (0)