mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
(cherry picked from commit b66707327989822f23c57aa19fa81dd38a02ed67) GitOrigin-RevId: e85b75676c138cf9ce2de0ac07a88f19a730f5c0
20 lines
252 B
Python
20 lines
252 B
Python
from __future__ import print_function
|
|
|
|
|
|
def make_class(x):
|
|
class C:
|
|
p = x
|
|
|
|
return C
|
|
|
|
|
|
def foo():
|
|
return 100
|
|
|
|
|
|
class D(make_class(foo())): # breakpoint
|
|
def __init__(self):
|
|
self.d = 3
|
|
|
|
def foo(self):
|
|
return 1 |