# HG changeset patch
# User Geoffrey Ehrman <gehrman@gmail.com>
# Date 1326381199 28800
# Node ID 7f2ebc460bb7c724983fcb97f3a1d78d42a8e6f5
# Parent  92c93226b64f933e0af00bbcbd1a8a79c444f43f
Trac 12298: minor CallableSymbolicExpressionRing display bug

diff --git a/sage/categories/pushout.py b/sage/categories/pushout.py
--- a/sage/categories/pushout.py
+++ b/sage/categories/pushout.py
@@ -961,7 +961,7 @@
     
     # We do provide merging with polynomial rings. However, it seems that it is better
     # to have a greater rank, since we want to apply InfinitePolynomialFunctor *after*
-    # [Multi]PolynomialFunktor, which have rank 9. But there is the MatrixFunctor, which
+    # [Multi]PolynomialFunctor, which have rank 9. But there is the MatrixFunctor, which
     # has rank 10. So, do fine tuning...
     rank = 9.5
 
diff --git a/sage/symbolic/callable.py b/sage/symbolic/callable.py
--- a/sage/symbolic/callable.py
+++ b/sage/symbolic/callable.py
@@ -370,7 +371,12 @@
             sage: R._repr_()
             'Callable function ring with arguments (x, y, theta)'
         """
-        return "Callable function ring with arguments %s"%(self._arguments,)
+        if len(self._arguments) == 0:
+            return "Callable function ring with no named arguments"
+        elif len(self._arguments) == 1:
+            return "Callable function ring with argument %s" % self._arguments[0]
+        else:
+            return "Callable function ring with arguments %s"%(self._arguments,)
 
     def arguments(self):
         r"""
