mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-23 10:14:50 +07:00
36 lines
510 B
Python
36 lines
510 B
Python
def self(): # ok
|
|
pass
|
|
|
|
self = 1 # ok
|
|
|
|
class A:
|
|
def foo(self, a):
|
|
(self, (a, b)) = 1, ((22, 23))
|
|
if 1:
|
|
a = {}
|
|
self = 23
|
|
for (self, a) in []:
|
|
pass
|
|
|
|
def boo():
|
|
self = 1
|
|
|
|
def moo(self):
|
|
def inner_moo():
|
|
self =1
|
|
|
|
def self():
|
|
pass
|
|
|
|
class self:
|
|
pass
|
|
|
|
@classmethod
|
|
def qoo(cls):
|
|
cls = 1
|
|
|
|
# no builtins detection -> can't test static methods :( where's mock Python SDK?
|
|
@staticmethod
|
|
def stat(first):
|
|
first = 1 # ok
|