mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 20:39:40 +07:00
PY-66274 Fix compatibility with Python 2.7
GitOrigin-RevId: 70be955e19a04f4ecd953a91ae99efb8b0f079ea
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ebedb445ac
commit
48e2dd67bc
@@ -115,18 +115,9 @@ _Instruction = namedtuple(
|
||||
'argval',
|
||||
'offset',
|
||||
'starts_line',
|
||||
],
|
||||
defaults=[None]
|
||||
]
|
||||
)
|
||||
|
||||
_Instruction.opname.__doc__ = "Human readable name for operation"
|
||||
_Instruction.opcode.__doc__ = "Numeric code for operation"
|
||||
_Instruction.arg.__doc__ = "Numeric argument to operation (if any), otherwise None"
|
||||
_Instruction.argval.__doc__ = "Resolved arg value (if known), otherwise same as arg"
|
||||
_Instruction.offset.__doc__ = "Start index of operation within bytecode sequence"
|
||||
_Instruction.starts_line.__doc__ = \
|
||||
"Line started by this opcode (if any), otherwise None"
|
||||
|
||||
if IS_PY3K:
|
||||
long = int
|
||||
|
||||
|
||||
Reference in New Issue
Block a user