mirror of
https://github.com/zrax/pycdc.git
synced 2026-06-23 11:34:07 +00:00
For String Refs, inherit the type of the reffed string object.
This commit is contained in:
parent
93495c3bfb
commit
e623e9ac56
5 changed files with 4 additions and 7 deletions
|
|
@ -173,7 +173,6 @@ void print_const(PycRef<PycObject> obj, PycModule* mod, const char* parent_f_str
|
|||
OutputString(obj.cast<PycString>(), mod->strIsUnicode() ? 0 : 'u',
|
||||
false, pyc_output, parent_f_string_quote);
|
||||
break;
|
||||
case PycObject::TYPE_STRINGREF:
|
||||
case PycObject::TYPE_INTERNED:
|
||||
case PycObject::TYPE_ASCII:
|
||||
case PycObject::TYPE_ASCII_INTERNED:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue