Skip to content

Commit 0004172

Browse files
committed
Fix wrong type name for parameter.
"string" is not a Python type, but "str" is.
1 parent 282b2e3 commit 0004172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

canopen/profiles/p402.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class State402(object):
8989
def next_state_for_enabling(_from):
9090
"""Return the next state needed for reach the state Operation Enabled.
9191
92-
:param string target: Target state.
92+
:param str target: Target state.
9393
:return: Next target to change.
9494
:rtype: str
9595
"""

0 commit comments

Comments
 (0)