Skip to content

Commit eef3b5b

Browse files
committed
src - Fixing docstring
1 parent 83becbc commit eef3b5b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

overpy/__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -504,8 +504,8 @@ def from_json(cls, data, result=None):
504504
"""
505505
Create new Node element from JSON data
506506
507-
:param child: Element data from JSON
508-
:type child: Dict
507+
:param data: Element data from JSON
508+
:type data: Dict
509509
:param result: The result this element belongs to
510510
:type result: overpy.Result
511511
:return: New instance of Node
@@ -679,8 +679,8 @@ def from_json(cls, data, result=None):
679679
"""
680680
Create new Way element from JSON data
681681
682-
:param child: Element data from JSON
683-
:type child: Dict
682+
:param data: Element data from JSON
683+
:type data: Dict
684684
:param result: The result this element belongs to
685685
:type result: overpy.Result
686686
:return: New instance of Way
@@ -788,8 +788,8 @@ def from_json(cls, data, result=None):
788788
"""
789789
Create new Relation element from JSON data
790790
791-
:param child: Element data from JSON
792-
:type child: Dict
791+
:param data: Element data from JSON
792+
:type data: Dict
793793
:param result: The result this element belongs to
794794
:type result: overpy.Result
795795
:return: New instance of Relation

0 commit comments

Comments
 (0)