mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
8 lines
233 B
Python
8 lines
233 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[encoding]) |