]> ToastFreeware Gitweb - philipp/winterrodeln/wrpylib.git/commitdiff
Fix typo in docstring.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Sun, 13 Mar 2022 16:28:03 +0000 (17:28 +0100)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Sun, 13 Mar 2022 16:28:03 +0000 (17:28 +0100)
wrpylib/wrvalidators.py

index 3764bf301c95171a4ebb0bd8959d0291be834c34..2e5cd5e73d1eb328c7826185ded089733ce8b74c 100644 (file)
@@ -325,7 +325,7 @@ opt_tristate_german_converter = FromToConverter(opt_tristate_german_from_str, op
 # -------------------------------
 
 def opt_tristate_german_comment_from_str(value: str) -> Tuple[Optional[float], Optional[str]]:
 # -------------------------------
 
 def opt_tristate_german_comment_from_str(value: str) -> Tuple[Optional[float], Optional[str]]:
-    """Ja, Nein or Teilweise, optionally with comment in parenthesis."""
+    """Ja, Nein or Teilweise, optionally with comment in parentheses."""
     return value_comment_from_str(value, opt_tristate_german_from_str, opt_str_from_str, True)
 
 
     return value_comment_from_str(value, opt_tristate_german_from_str, opt_str_from_str, True)