changeset 410:be5e0f69137b

Fix some epydoc usage in the `plural` module.
author cmlenz
date Mon, 25 Aug 2008 11:33:35 +0000
parents 9ec92e0d3629
children 3fb050ad01ae
files babel/plural.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/babel/plural.py
+++ b/babel/plural.py
@@ -78,7 +78,7 @@
 
         :param rules: the rules as list or dict, or a `PluralRule` object
         :return: a corresponding `PluralRule` object
-        :raise: a `RuleError` if the expression is malformed
+        :raise Ruleerror: if the expression is malformed
         """
         if isinstance(rules, cls):
             return rules
@@ -140,7 +140,7 @@
 
     :param rules: the rules as list or dict, or a `PluralRule` object
     :return: a corresponding JavaScript function as `str`
-    :raise: a `RuleError` if the expression is malformed
+    :raise RuleError: if the expression is malformed
     """
     to_js = _JavaScriptCompiler().compile
     result = ['(function(n) { return ']
@@ -163,7 +163,7 @@
 
     :param rules: the rules as list or dict, or a `PluralRule` object
     :return: a corresponding Python function
-    :raise: a `RuleError` if the expression is malformed
+    :raise RuleError: if the expression is malformed
     """
     namespace = {
         'IN':       in_range,
Copyright (C) 2012-2017 Edgewall Software