Tornado 6.1 Documentation
in the awaitable object until it is 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(): set context for translation, accepts plural forms. Usage example: pgettext("law", "right") pgettext("good", "right") Plural message example: pgettext("organization", "club", "clubs", len(clubs)) pgettext("stick" make_current explicitly before starting the IOLoop, so that code run at startup time can find the right instance. Changed in version 4.1: An IOLoop created while there is no current IOLoop will automatically0 码力 | 931 页 | 708.03 KB | 1 年前3
Tornado 6.0 Documentation
in the awaitable object until it is 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(): set context for translation, accepts plural forms. Usage example: pgettext("law", "right") pgettext("good", "right") Plural message example: pgettext("organization", "club", "clubs", len(clubs)) pgettext("stick" make_current explicitly before starting the IOLoop, so that code run at startup time can find the right instance. Changed in version 4.1: An IOLoop created while there is no current IOLoop will automatically0 码力 | 869 页 | 692.83 KB | 1 年前3
Tornado 4.5 Documentation
be trapped in the Future until it is yielded. This means it is important to call coroutines in the right way, or you may have errors that go unnoticed: @gen.coroutine def divide(x, y): return x / y set context for translation, accepts plural forms. Usage example: pgettext("law", "right") pgettext("good", "right") Plural message example: pgettext("organization", "club", "clubs", len(clubs)) pgettext("stick" make_current explicitly before starting the IOLoop, so that code run at startup time can find the right instance. Changed in version 4.1: An IOLoop created while there is no current IOLoop will automatically0 码力 | 333 页 | 322.34 KB | 1 年前3
Tornado 6.1 Documentation
in the awaitable object until it is 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(): set context for translation, accepts plural forms. Usage example: pgettext("law", "right") pgettext("good", "right") Plural message example: pgettext("organization", "club", "clubs", len(clubs)) pgettext("stick" make_current explicitly before starting the IOLoop, so that code run at startup time can find the right instance. 6.4. Asynchronous networking 97 Tornado Documentation, Release 6.1 Changed in version0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 4.5 Documentation
be trapped in the Future until it is yielded. This means it is important to call coroutines in the right way, or you may have errors that go unnoticed: @gen.coroutine def divide(x, y): return x / y def set context for translation, accepts plural forms. Usage example: pgettext("law", "right") pgettext("good", "right") Plural message example: pgettext("organization", "club", "clubs", len(clubs)) pgettext("stick" make_current explicitly before starting the IOLoop, so that code run at startup time can find the right instance. Changed in version 4.1: An IOLoop created while there is no current IOLoop will automatically0 码力 | 222 页 | 833.04 KB | 1 年前3
Tornado 5.1 Documentation
in the awaitable object until it is 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(): set context for translation, accepts plural forms. Usage example: pgettext("law", "right") pgettext("good", "right") Plural message example: pgettext("organization", "club", "clubs", len(clubs)) pgettext("stick" make_current explicitly before starting the IOLoop, so that code run at startup time can find the right instance. Changed in version 4.1: An IOLoop created while there is no current IOLoop will automatically0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 6.4 Documentation
in the awaitable object until it is 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(): set context for translation, accepts plural forms. Usage example: pgettext("law", "right") pgettext("good", "right") Plural message example: pgettext("organization", "club", "clubs", len(clubs)) pgettext("stick" make_current explicitly before starting the IOLoop, so that code run at startup time can find the right instance. Changed in version 4.1: An IOLoop created while there is no current IOLoop will automatically0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.2 Documentation
in the awaitable object until it is 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(): set context for translation, accepts plural forms. Usage example: pgettext("law", "right") pgettext("good", "right") Plural message example: pgettext("organization", "club", "clubs", len(clubs)) pgettext("stick" make_current explicitly before starting the IOLoop, so that code run at startup time can find the right instance. Changed in version 4.1: An IOLoop created while there is no current IOLoop will automatically0 码力 | 260 页 | 1.06 MB | 1 年前3
Tornado 6.4 Documentation
in the awaitable object until it is 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(): set context for translation, accepts plural forms. Usage example: pgettext("law", "right") pgettext("good", "right") Plural message example: pgettext("organization", "club", "clubs", len(clubs)) pgettext("stick" make_current explicitly before starting the IOLoop, so that code run at startup time can find the right instance. Changed in version 4.1: An IOLoop created while there is no current IOLoop will automatically0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
in the awaitable object until it is 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(): set context for translation, accepts plural forms. Usage example: pgettext("law", "right") pgettext("good", "right") Plural message example: pgettext("organization", "club", "clubs", len(clubs)) pgettext("stick" make_current explicitly before starting the IOLoop, so that code run at startup time can find the right instance. Changed in version 4.1: An IOLoop created while there is no current IOLoop will automatically0 码力 | 268 页 | 1.09 MB | 1 年前3
共 20 条
- 1
- 2













