Commit 4dca747
Steve Canny
part_fctry: change CustomPartClass contruct to load()
Use a classmethod constructor (.load()) for CustomPartClass rather than
constructing directly. This allows custom part class to do some
pre-processing before actual construction, and keeping its __init__()
method clean, containing only simple assignments to state vars.1 parent d7c43e6 commit 4dca747
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
0 commit comments