Fix swapped defaults in docstring for json printing

This commit is contained in:
Vince Chan 2021-10-02 13:43:08 +01:00
parent edec73c074
commit 4976c939af
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@ class JSON:
Args: Args:
json (str): JSON encoded data. json (str): JSON encoded data.
indent (int, optional): Number of characters to indent by. Defaults to True. indent (int, optional): Number of characters to indent by. Defaults to 2.
highlight (bool, optional): Enable highlighting. Defaults to 2. highlight (bool, optional): Enable highlighting. Defaults to True.
""" """
def __init__(self, json: str, indent: int = 2, highlight: bool = True) -> None: def __init__(self, json: str, indent: int = 2, highlight: bool = True) -> None: