summaryrefslogtreecommitdiff
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-09-12 07:54:51 +0000
committerTim Peters <tim.peters@gmail.com>2001-09-12 07:54:51 +0000
commit111f60964ee438e64d82cb884f9dfdec10321b7c (patch)
tree18d0b7bf790ec9fc702aa3e5e95290e2ae0c046f /Python/bltinmodule.c
parentaf90b3e610212a4994962246875e5bfc5574dff6 (diff)
downloadcpython-git-111f60964ee438e64d82cb884f9dfdec10321b7c.tar.gz
If interning an instance of a string subclass, intern a real string object
with the same value instead. This ensures that a string (or string subclass) object's ob_sinterned pointer is always a str (or NULL), and that the dict of interned strings only has strs as keys.
Diffstat (limited to 'Python/bltinmodule.c')
0 files changed, 0 insertions, 0 deletions