In swift.swift.parse(), the multiline docstring is indented in four spaces.
Let's modify it to 2 spaces indentation to fit our convention.
"""Returns a new cls instance from a JSON string.
This is a convenience function for just unpacking the JSON string and gives them
as keyword arguments of the constructor of cls.
Args:
cls: A class object.
kwargs: A JSON string of a dictionary that contains the keyword arguments of cls.
Positional arguments should be given with the argument names, just like
the other keyword arguments.
There must not exist arguments which are not in cls constructor.
"""
In
swift.swift.parse()
, the multiline docstring is indented in four spaces.Let's modify it to 2 spaces indentation to fit our convention.