mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
11 lines
183 B
Python
11 lines
183 B
Python
class Foo(object):
|
|
def __init__(self, color):
|
|
self.color = color
|
|
|
|
class Bar(object):
|
|
fooFactory = Foo
|
|
|
|
def quux(self):
|
|
foo = self.fooFactory(<arg>"orange") #
|
|
|