crodgers

Untitled

Jul 8th, 2014
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. >>> import Designable.Proxies
  2. >>> layout = Designable.Proxies.Layout3D()
  3. >>> layout
  4. []
  5. >>> import Point3D
  6. >>> x = Point3D(0., 0., 0.)
  7. Traceback (most recent call last):
  8. File "<console>", line 1, in <module>
  9. TypeError: 'module' object is not callable
  10. >>> x = Point3D.Point3D(0., 0., 0.)
  11. >>> y = Point3D.Point3D(1., 0., 0.)
  12. >>> layout.add_node(x, 0)
  13. >>> layout.add_node(y, 0)
  14. >>> layout.pop_node()
  15. type super: <type 'super'>
  16. Traceback (most recent call last):
  17. File "<console>", line 1, in <module>
  18. File "./Designable/Proxies.py", line 290, in pop_node
  19. TypeError: 'super' object is not subscriptable
Advertisement
Add Comment
Please, Sign In to add comment