factory.py
| 148 B | Satir:
0
| py
Geri
from .instance import Instance class Factory(object): def create(self, *args, **kwargs): instance = Instance(*args, **kwargs) return instance
Kaydet
Ctrl+S ile kaydet