Timeline for nested classes in Python
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 8, 2012 at 13:48 | comment | added | Duncan |
@Supporter it would be much simpler if instead of the outer Geometry class you just created a module called 'geometry'. Then you get exactly the same grouping but without the complications of the nested class: import geometry as g c = g.Curve(0.5) l = g.Line()
|
|
Jan 8, 2012 at 8:01 | comment | added | Developer | @soulcheck see my comment above for Ignacio Vazquez-Abrams. | |
Jan 8, 2012 at 8:01 | comment | added | Developer | @IgnacioVazquez-Abrams The solution for the problem now is found. That's great just after a few hours. You can find your point in the update section of the question. | |
Jan 8, 2012 at 7:55 | vote | accept | Developer | ||
Jan 8, 2012 at 7:55 | history | edited | Developer | CC BY-SA 3.0 |
added 590 characters in body
|
Jan 8, 2012 at 5:43 | answer | added | yak | timeline score: 10 | |
Jan 8, 2012 at 4:36 | answer | added | Don Question | timeline score: 1 | |
Jan 8, 2012 at 4:19 | comment | added | soulcheck |
ditto. how did your call of A.__init__() in B.__init__() look like?
|
|
Jan 8, 2012 at 4:03 | comment | added | Ignacio Vazquez-Abrams |
"... A.__init__() being called inside B()'s __init__() does not work!" Pics or it didn't happen.
|
|
Jan 8, 2012 at 3:59 | history | edited | Developer | CC BY-SA 3.0 |
edited body
|
Jan 8, 2012 at 3:49 | history | asked | Developer | CC BY-SA 3.0 |