def inline():
     yield cause
     self.mistakenMethod()
     returnValue(2)
 def inline():
     self.mistakenMethod()
     returnValue(2)
     yield 0
 def mistakenMethod(self):
     """
     This method mistakenly invokes L{returnValue}, despite the fact that it
     is not decorated with L{inlineCallbacks}.
     """
     returnValue(1)
Example #4
0
 def inline():
     yield cause
     self.mistakenMethod()
     returnValue(2)
Example #5
0
 def inline():
     self.mistakenMethod()
     returnValue(2)
     yield 0
Example #6
0
 def mistakenMethod(self):
     """
     This method mistakenly invokes L{returnValue}, despite the fact that it
     is not decorated with L{inlineCallbacks}.
     """
     returnValue(1)