diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-09-12 07:54:51 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-09-12 07:54:51 +0000 |
commit | 111f60964ee438e64d82cb884f9dfdec10321b7c (patch) | |
tree | 18d0b7bf790ec9fc702aa3e5e95290e2ae0c046f /Python/bltinmodule.c | |
parent | af90b3e610212a4994962246875e5bfc5574dff6 (diff) | |
download | cpython-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