mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
[pycharm] PY-40977 Fixes in expression building: NestedOrderedDict case
GitOrigin-RevId: 3cd93d74ab5b98063034e646a021350033308da4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7aa696afb0
commit
07668b70e3
@@ -239,8 +239,9 @@ public class PyDebugValue extends XNamedValue {
|
||||
}
|
||||
else {
|
||||
myParent.buildExpression(result);
|
||||
if (("dict".equals(myParent.getType()) || "list".equals(myParent.getType()) || "tuple".equals(myParent.getType())) &&
|
||||
!isLen(myName)) {
|
||||
if (("dict".equals(myParent.getType()) || "list".equals(myParent.getType()) || "tuple".equals(myParent.getType())
|
||||
|| "NestedOrderedDict".equals(myParent.getType())
|
||||
) && !isLen(myName)) {
|
||||
result.append('[').append(removeLeadingZeros(removeId(myName))).append(']');
|
||||
}
|
||||
else if (("set".equals(myParent.getType())) && !isLen(myName)) {
|
||||
|
||||
Reference in New Issue
Block a user