Commit a68c7220 authored by Stefan Behnel's avatar Stefan Behnel

fix intern() test in Py3

parent 2a11ce58
__doc__ = u"""
>>> s == s_interned
True
>>> s == s_interned_dynamic
True
>>> s == 'abc' == s_interned == s_interned_dynamic
True
"""
import sys
if sys.version_info[0] < 3:
__doc__ += u"""
>>> intern(s) is s_interned
True
>>> intern('abc') is s_interned
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment