u'S\xf8k ik\xfc\xd6\xe4abc'
>>> null
u'\x00'
-""" + """
+""".decode("ASCII") + """
>>> len(sa)
3
>>> len(ua)
12
>>> len(null)
1
-""" + u"""
+""".decode("ASCII") + u"""
>>> sa == 'abc'
True
>>> ua == u'abc'
True
"""
+import sys
+if sys.version_info[0] >= 3:
+ __doc__ = __doc__.replace(u" u'", u" '")
+
sa = 'abc'
ua = u'abc'
u'S\xf8k ik\xfc\xd6\xe4abc'
>>> null
u'\x00'
-""" + """
+""".decode("ASCII") + """
>>> len(sa)
3
>>> len(ua)
12
>>> len(null)
1
-""" + u"""
+""".decode("ASCII") + u"""
>>> sa == 'abc'
True
>>> ua == u'abc'
True
"""
+import sys
+if sys.version_info[0] >= 3:
+ __doc__ = __doc__.replace(u" u'", u" '")
+
sa = 'abc'
ua = u'abc'
u'S\xf8k ik\xfc\xd6\xe4abc'
>>> null
u'\x00'
-""" + """
+""".decode("ASCII") + """
>>> len(sa)
3
>>> len(ua)
12
>>> len(null)
1
-""" + u"""
+""".decode("ASCII") + u"""
>>> sa == 'abc'
True
>>> ua == u'abc'
True
"""
+import sys
+if sys.version_info[0] >= 3:
+ __doc__ = __doc__.replace(u" u'", u" '")
+
sa = 'abc'
ua = u'abc'