mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
8 lines
235 B
Python
8 lines
235 B
Python
ENCODINGS = {}
|
|
|
|
class C:
|
|
def foo(self):
|
|
if self.id[0] == 'T':
|
|
encoding = ord(self.rawData[0])
|
|
if 0 <= encoding < len(ENCODINGS):
|
|
value = self.rawData[1:].decode(ENCODINGS[enc<caret>]) |