Skip to content

Commit c8e1682

Browse files
committed
DOC: Correct phrasing and typos of encoders docstring.
1 parent 2ffe202 commit c8e1682

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

rocketpy/_encoders.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ def object_hook(self, obj):
9494

9595

9696
def get_class_signature(obj):
97-
"""Returns the signature of a class in the form of a string.
98-
The signature is a dictionary with the module and name of the
99-
object's class as strings.
97+
"""Returns the signature of a class so it can be identified on
98+
decoding. The signature is a dictionary with the module and
99+
name of the object's class as strings.
100100
101101
102102
Parameters
@@ -116,8 +116,8 @@ def get_class_signature(obj):
116116

117117

118118
def get_class_from_signature(signature):
119-
"""Returns the class by importing its signature and
120-
importing its module.
119+
"""Returns the class from its signature dictionary by
120+
importing the module and loading the class.
121121
122122
Parameters
123123
----------

0 commit comments

Comments
 (0)