summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pyramid/util.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pyramid/util.py b/src/pyramid/util.py
index 1180fce83..cad8142dd 100644
--- a/src/pyramid/util.py
+++ b/src/pyramid/util.py
@@ -338,14 +338,14 @@ def object_description(object):
usually involving a Python dotted name. For example:
>>> object_description(None)
- u'None'
+ 'None'
>>> from xml.dom import minidom
>>> object_description(minidom)
- u'module xml.dom.minidom'
+ 'module xml.dom.minidom'
>>> object_description(minidom.Attr)
- u'class xml.dom.minidom.Attr'
+ 'class xml.dom.minidom.Attr'
>>> object_description(minidom.Attr.appendChild)
- u'method appendChild of class xml.dom.minidom.Attr'
+ 'method appendChild of class xml.dom.minidom.Attr'
If this method cannot identify the type of the object, a generic
description ala ``object <object.__name__>`` will be returned.