Skip to content

Commit 9a0eaf8

Browse files
authored
_json: Type indent as str | None (#14398)
1 parent eba42bd commit 9a0eaf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/_json.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class make_encoder:
1111
@property
1212
def key_separator(self) -> str: ...
1313
@property
14-
def indent(self) -> int | None: ...
14+
def indent(self) -> str | None: ...
1515
@property
1616
def markers(self) -> dict[int, Any] | None: ...
1717
@property
@@ -25,7 +25,7 @@ class make_encoder:
2525
markers: dict[int, Any] | None,
2626
default: Callable[[Any], Any],
2727
encoder: Callable[[str], str],
28-
indent: int | None,
28+
indent: str | None,
2929
key_separator: str,
3030
item_separator: str,
3131
sort_keys: bool,

0 commit comments

Comments
 (0)