Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: third_party/twisted_8_1/twisted/test/crash_test_dummy.py

Issue 12261012: Remove third_party/twisted_8_1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1
2 # Copyright (c) 2001-2004 Twisted Matrix Laboratories.
3 # See LICENSE for details.
4
5
6 from twisted.python import components
7 from zope.interface import implements, Interface
8
9 def foo():
10 return 2
11
12 class X:
13 def __init__(self, x):
14 self.x = x
15
16 def do(self):
17 #print 'X',self.x,'doing!'
18 pass
19
20
21 class XComponent(components.Componentized):
22 pass
23
24 class IX(Interface):
25 pass
26
27 class XA(components.Adapter):
28 implements(IX)
29
30 def method(self):
31 # Kick start :(
32 pass
33
34 components.registerAdapter(XA, X, IX)
OLDNEW
« no previous file with comments | « third_party/twisted_8_1/twisted/test/app_qtstub.py ('k') | third_party/twisted_8_1/twisted/test/generator_failure_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698