Tornado 6.5 Documentationhttp_client = AsyncHTTPClient() response = await http_client.fetch(url) return response.body Or for compatibility with older versions of Python, using the tornado.gen module: 14 Chapter 6. DocumentationTornado and await keywords (functions using these keywords are also called “native corou- tines”). For compatibility with older versions of Python, you can use “decorated” or “yield-based” coroutines using the tornado Native coroutines are the recommended form whenever possible. Only use decorated coroutines when compatibility with older versions of Python is required. Examples in the Tornado documentation will generally0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.5 DocumentationAsyncHTTPClient() response = await http_client.fetch(url) return response.body Or for compatibility with older versions of Python, using the tornado.gen module: from tornado.httpclient import AsyncHTTPClient and await keywords (functions using these keywords are also called “native coroutines”). For compatibility with older versions of Python, you can use “decorated” or “yield-based” coroutines using the tornado Native coroutines are the recommended form whenever possible. Only use decorated coroutines when compatibility with older versions of Python is required. Examples in the Tornado documentation will generally0 码力 | 437 页 | 405.14 KB | 3 月前3
Julia 1.12.0 RC1its own inverse (e.g. Flip(Flip(x)) === x), or to support an old calling syntax for backwards compatibility when a library is restructured. But convert(T, x) should always return a value of type T. Defining namespace implications. The public keyword is only available in Julia 1.11 and above. To maintain compatibility with Julia 1.10 and below, use the @compat macro from the Compat package, or the version-aware other macros and use them in the same returned expression. However, to pre- serve backwards compatibility with existing uses of @__doc__, the doc system will still expand through Expr(:toplevel) blocks0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta4its own inverse (e.g. Flip(Flip(x)) === x), or to support an old calling syntax for backwards compatibility when a library is restructured. But convert(T, x) should always return a value of type T. Defining namespace implications. The public keyword is only available in Julia 1.11 and above. To maintain compatibility with Julia 1.10 and below, use the @compat macro from the Compat package, or the version-aware other macros and use them in the same returned expression. However, to pre- serve backwards compatibility with existing uses of @__doc__, the doc system will still expand through Expr(:toplevel) blocks0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta3its own inverse (e.g. Flip(Flip(x)) === x), or to support an old calling syntax for backwards compatibility when a library is restructured. But convert(T, x) should always return a value of type T. Defining namespace implications. The public keyword is only available in Julia 1.11 and above. To maintain compatibility with Julia 1.10 and below, use the @compat macro from the Compat package, or the version-aware other macros and use them in the same returned expression. However, to pre- serve backwards compatibility with existing uses of @__doc__, the doc system will still expand through Expr(:toplevel) blocks0 码力 | 2057 页 | 7.44 MB | 3 月前3
julia 1.12.0 beta1its own inverse (e.g. Flip(Flip(x)) === x), or to support an old calling syntax for backwards compatibility when a library is restructured. But convert(T, x) should always return a value of type T. Defining namespace implications. The public keyword is only available in Julia 1.11 and above. To maintain compatibility with Julia 1.10 and below, use the @compat macro from the Compat package, or the version-aware other macros and use them in the same returned expression. However, to pre- serve backwards compatibility with existing uses of @__doc__, the doc system will still expand through Expr(:toplevel) blocks0 码力 | 2047 页 | 7.41 MB | 3 月前3
Julia 1.11.4its own inverse (e.g. Flip(Flip(x)) === x), or to support an old calling syntax for backwards compatibility when a library is restructured. But convert(T, x) should always return a value of type T. Defining namespace implications. The public keyword is only available in Julia 1.11 and above. To maintain compatibility with Julia 1.10 and below, use the @compat macro from the Compat package. Standalone using and Julia supports multicast over IPv4 and IPv6 using the User Datagram Protocol (UDP) as transport. Unlike the Transmission Control Protocol (TCP), UDP makes almost no assumptions about the needs of the application0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.5 Documentationits own inverse (e.g. Flip(Flip(x)) === x), or to support an old calling syntax for backwards compatibility when a library is restructured. But convert(T, x) should always return a value of type T. Defining namespace implications. The public keyword is only available in Julia 1.11 and above. To maintain compatibility with Julia 1.10 and below, use the @compat macro from the Compat package. Standalone using and Julia supports multicast over IPv4 and IPv6 using the User Datagram Protocol (UDP) as transport. Unlike the Transmission Control Protocol (TCP), UDP makes almost no assumptions about the needs of the application0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.6 Release Notesits own inverse (e.g. Flip(Flip(x)) === x), or to support an old calling syntax for backwards compatibility when a library is restructured. But convert(T, x) should always return a value of type T. Defining namespace implications. The public keyword is only available in Julia 1.11 and above. To maintain compatibility with Julia 1.10 and below, use the @compat macro from the Compat package. Standalone using and Julia supports multicast over IPv4 and IPv6 using the User Datagram Protocol (UDP) as transport. Unlike the Transmission Control Protocol (TCP), UDP makes almost no assumptions about the needs of the application0 码力 | 2007 页 | 6.73 MB | 3 月前3
julia 1.13.0 DEVits own inverse (e.g. Flip(Flip(x)) === x), or to support an old calling syntax for backwards compatibility when a library is restructured. But convert(T, x) should always return a value of type T. Defining namespace implications. The public keyword is only available in Julia 1.11 and above. To maintain compatibility with Julia 1.10 and below, use the @compat macro from the Compat package, or the version-aware currently limited to the syntactic top level within a file or module. This limitation exists for compatibility reasons, as public was introduced as a new keyword in Julia 1.11 while export has existed since0 码力 | 2058 页 | 7.45 MB | 3 月前3
共 21 条
- 1
- 2
- 3













