Tornado 6.4 Documentation
kinds of coroutines it is important to use await or yield so that any exceptions have somewhere to go. • Decorated coroutines: – have additional integration with the concurrent.futures package, allowing conceptually similar, but a little more complicated because of the extra integration with the Python runtime. A function containing yield is a generator. All generators are asynchronous; when called they return yielded. This means it is important to call coroutines in the right way, or you may have errors that go unnoticed: async def divide(x, y): return x / y def bad_call(): # This should raise a ZeroDivisionError0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
kinds of coroutines it is important to use await or yield so that any exceptions have somewhere to go. • Decorated coroutines: – have additional integration with the concurrent.futures package, allowing conceptually similar, but a little more complicated because of the extra integration with the Python runtime. A function containing yield is a generator. All generators are asynchronous; when called they return yielded. This means it is important to call coroutines in the right way, or you may have errors that go unnoticed: async def divide(x, y): return x / y def bad_call(): # This should raise a ZeroDivisionError0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
kinds of coroutines it is important to use await or yield so that any exceptions have somewhere to go. • Decorated coroutines: – have additional integration with the concurrent.futures package, allowing conceptually similar, but a little more complicated because of the extra integration with the Python runtime. A function containing yield is a generator. All generators are asynchronous; when called they return yielded. This means it is important to call coroutines in the right way, or you may have errors that go unnoticed: async def divide(x, y): return x / y def bad_call(): # This should raise a ZeroDivisionError0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.5 Documentationkinds of coroutines it is important to use await or yield so that any exceptions have somewhere to go. • Decorated coroutines: – have additional integration with the concurrent.futures package, allowing conceptually similar, but a little more complicated because of the extra integration with the Python runtime. A function containing yield is a generator. All generators are asynchronous; when called they return yielded. This means it is important to call coroutines in the right way, or you may have errors that go unnoticed: async def divide(x, y): return x / y def bad_call(): # This should raise a ZeroDivisionError0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.1 Documentation
kinds of coroutines it is important to use await or yield so that any exceptions have somewhere to go. • Decorated coroutines: – have additional integration with the concurrent.futures package, allowing conceptually similar, but a little more complicated because of the extra integration with the Python runtime. A function containing yield is a generator. All generators are asynchronous; when called they return yielded. This means it is important to call coroutines in the right way, or you may have errors that go unnoticed: async def divide(x, y): return x / y def bad_call(): # This should raise a ZeroDivisionError0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 6.0 Documentation
kinds of coroutines it is important to use await or yield so that any exceptions have somewhere to go. • Decorated coroutines: – have additional integration with the concurrent.futures package, allowing conceptually similar, but a little more complicated because of the extra integration with the Python runtime. A function containing yield is a generator. All generators are asynchronous; when called they return yielded. This means it is important to call coroutines in the right way, or you may have errors that go unnoticed: async def divide(x, y): return x / y def bad_call(): # This should raise a ZeroDivisionError0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 6.2 Documentation
kinds of coroutines it is important to use await or yield so that any exceptions have somewhere to go. • Decorated coroutines: – have additional integration with the concurrent.futures package, allowing conceptually similar, but a little more complicated because of the extra integration with the Python runtime. A function containing yield is a generator. All generators are asynchronous; when called they return yielded. This means it is important to call coroutines in the right way, or you may have errors that go unnoticed: async def divide(x, y): return x / y def bad_call(): # This should raise a ZeroDivisionError0 码力 | 260 页 | 1.06 MB | 1 年前3
Tornado 6.3 Documentation
kinds of coroutines it is important to use await or yield so that any exceptions have somewhere to go. • Decorated coroutines: – have additional integration with the concurrent.futures package, allowing conceptually similar, but a little more complicated because of the extra integration with the Python runtime. A function containing yield is a generator. All generators are asynchronous; when called they return yielded. This means it is important to call coroutines in the right way, or you may have errors that go unnoticed: async def divide(x, y): return x / y def bad_call(): # This should raise a ZeroDivisionError0 码力 | 264 页 | 1.06 MB | 1 年前3
Tornado 5.1 Documentation
kinds of coroutines it is important to use await or yield so that any exceptions have somewhere to go. • Decorated coroutines have additional integration with the concurrent.futures package, allowing conceptually similar, but a little more complicated because of the extra integration with the Python runtime. A function containing yield is a generator. All generators are asynchronous; when called they return yielded. This means it is important to call coroutines in the right way, or you may have errors that go unnoticed: async def divide(x, y): return x / y def bad_call(): # This should raise a ZeroDivisionError0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 6.4 Documentation
kinds of coroutines it is important to use await or yield so that any exceptions have somewhere to go. Decorated coroutines: have additional integration with the concurrent.futures [https://docs.python conceptually similar, but a little more complicated because of the extra integration with the Python runtime. A function containing yield is a generator. All generators are asynchronous; when called they return yielded. This means it is important to call coroutines in the right way, or you may have errors that go unnoticed: async def divide(x, y): return x / y def bad_call(): # This should raise a ZeroDivisionError0 码力 | 432 页 | 402.58 KB | 1 年前3
共 20 条
- 1
- 2













