Commits

Takayuki Shimizukawa committed a301331

refactor function docstrings.

  • Participants
  • Parent commits aa19184

Comments (0)

Files changed (1)

File sphinx_term_validator.py

     """
     If text include half-width-katakana, emit warning.
 
-    :param text: string to validate.
-    :type text: unicode
+    :param unicode text: string to validate.
     :param warn: warning function to emit
     :type warn: function accept 1 argument
     :return: normalized string
     """
     If text include half parenthesis within wide text, emit warning.
 
-    :param text: string to validate.
-    :type text: unicode
+    :param unicode text: string to validate.
     :param warn: warning function to emit
     :type warn: function accept 1 argument
     :return: normalized string
     """
     If text include half question or exclamatoin, emit warning.
 
-    :param text: string to validate.
-    :type text: unicode
+    :param unicode text: string to validate.
     :param warn: warning function to emit
     :type warn: function accept 1 argument
     :return: normalized string
     """
     If text include ascii punctuation mark (.,) emit warning.
 
-    :param text: string to validate.
-    :type text: unicode
+    :param unicode text: string to validate.
     :param warn: warning function to emit
     :type warn: function accept 1 argument
     :return: normalized string
     """
     If text did not include space in number of unit as "12 Mbps", emit warning.
 
-    :param text: string to validate.
-    :type text: unicode
+    :param unicode text: string to validate.
     :param warn: warning function to emit
     :type warn: function accept 1 argument
     :return: normalized string
     """
     If text include NG words, emit warning.
 
-    :param text: string to validate.
-    :type text: unicode
+    :param unicode text: string to validate.
     :param warn: warning function to emit
     :type warn: function accept 1 argument
     :return: normalized string