diff options
| author | Michael Merickel <michael@merickel.org> | 2018-11-18 23:29:18 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2018-11-18 23:29:18 -0600 |
| commit | 8f2fbe31c6c1aaa1b7792249ebeb984946e7a5e1 (patch) | |
| tree | 0f2b957902948ef58e2a45783af346267cbb4c2c /src | |
| parent | 80cce1874f90a73f74d7c9ef8156df3637694387 (diff) | |
| download | pyramid-8f2fbe31c6c1aaa1b7792249ebeb984946e7a5e1.tar.gz pyramid-8f2fbe31c6c1aaa1b7792249ebeb984946e7a5e1.tar.bz2 pyramid-8f2fbe31c6c1aaa1b7792249ebeb984946e7a5e1.zip | |
stop using u-prefix strings
Diffstat (limited to 'src')
| -rw-r--r-- | src/pyramid/util.py | 8 |
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. |
