codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
Mon Mar 31 13:52:02 ~/circuits $ python Python 2.7.6 (default, Nov 19 2013, 14:59:07) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from circuits import Component >>> class Foo(Component): ... pass ... >>> class App(Component): ... foo = Foo() ... >>> app = App() >>> app.components set([<Foo/* 68870:MainThread (queued=0) [S]>]) >>>
Private
[
?
]
Run code
Submit