Mypy 1.8.0 Documentationis a static type checker for Python. Type checkers help ensure that you’re using variables and functions in your code correctly. With mypy, add type hints (PEP 484 [https://peps.python.org/pep-0484/]) inference Types from libraries Next steps Type hints cheat sheet Variables Useful built-in types Functions Classes When you’re puzzled or when things are complicated Standard “duck types” Forward references (and lambdas) Union types Optional types and the None type Disabling strict optional checking Type aliases Named tuples The type of class objects Generators Class basics Instance and class attributes Annotating0 码力 | 318 页 | 271.55 KB | 1 年前3
Mypy 1.10.0+dev Documentationis a static type checker for Python. Type checkers help ensure that you’re using variables and functions in your code correctly. With mypy, add type hints (PEP 484 [https://peps.python.org/pep-0484/]) inference Types from libraries Next steps Type hints cheat sheet Variables Useful built-in types Functions Classes When you’re puzzled or when things are complicated Standard “duck types” Forward references type Tuple types Callable types (and lambdas) Union types Optional types and the None type Type aliases Named tuples The type of class objects Generators Class basics Instance and class attributes Annotating0 码力 | 318 页 | 270.84 KB | 1 年前3
Scrapy 0.9 Documentationstart_urls attribute of the Spider, and assigns them the parse method of the spider as their callback function. These Requests are scheduled, then executed, and a scrapy.http.Response objects are returned and 1. You start by generating the initial Requests to crawl the first URLs, and specify a callback function to be called with the response downloaded from those requests. The first requests to perform are for the URLs specified in the start_urls and the parse method as callback function for the Requests. 2. In the callback function you parse the response (web page) and return either Item objects, Request0 码力 | 204 页 | 447.68 KB | 1 年前3
Scrapy 0.14 Documentationstart_urls attribute of the Spider, and assigns them the parse method of the spider as their callback function. These Requests are scheduled, then executed, and scrapy.http.Response objects are returned and Item Fields Field objects are used to specify metadata for each field. For example, the serializer function for the last_updated field illustrated in the example above. You can specify any kind of metadata 1. You start by generating the initial Requests to crawl the first URLs, and specify a callback function to be called with the response downloaded from those requests. The first requests to perform are0 码力 | 235 页 | 490.23 KB | 1 年前3
Scrapy 0.12 Documentationstart_urls attribute of the Spider, and assigns them the parse method of the spider as their callback function. These Requests are scheduled, then executed, and scrapy.http.Response objects are returned and 1. You start by generating the initial Requests to crawl the first URLs, and specify a callback function to be called with the response downloaded from those requests. The first requests to perform are for the URLs specified in the start_urls and the parse method as callback function for the Requests. 2. In the callback function, you parse the response (web page) and return either Item objects, Request0 码力 | 228 页 | 462.54 KB | 1 年前3
Hyperledger Fabric 1.4 中文文档it allows for a straightforward composition of task functions, and (unlike tools which push the multi-host functionality down to the individual function calls) enables shell script-like logic where you may arguments via a special command-line syntax. In addition to naming actual arguments to your task function, this may be used to set the host, hosts, role or roles “arguments”, which are interpreted by Fabric list, you may wish to specify this in your fabfile itself. This can be done by decorating a task function with the hosts or roles decorators. These decorators take a variable argument list, like so: from0 码力 | 145 页 | 161.53 KB | 1 年前3
Hyperledger Fabric 2.5 中文文档it allows for a straightforward composition of task functions, and (unlike tools which push the multi-host functionality down to the individual function calls) enables shell script-like logic where you may arguments via a special command-line syntax. In addition to naming actual arguments to your task function, this may be used to set the host, hosts, role or roles “arguments”, which are interpreted by Fabric list, you may wish to specify this in your fabfile itself. This can be done by decorating a task function with the hosts or roles decorators. These decorators take a variable argument list, like so: from0 码力 | 138 页 | 154.00 KB | 1 年前3
Go 101 (Golang 101) v1.21.0rules. §9. Function Declarations and Calls §10. Code Packages and Package Imports §11. Expressions, Statements and Simple Statements §12. Basic Control Flows §13. Goroutines, Deferred Function Calls and and Maps - first-class citizen container types. §19. Strings §20. Functions - function types and values, including variadic functions. §21. Channels - the Go way to do concurrency synchronizations. §22 Rules §29. More About Deferred Function Calls §30. Some Panic/Recover Use Cases §31. Explain Panic/Recover Mechanism in Detail - also explains exiting phases of function calls. §32. Code Blocks and Identifier0 码力 | 610 页 | 945.17 KB | 1 年前3
httpd 2.4.20 中文文档authorization. mod_lua Embeds the Lua language into httpd, for configuration and small business logic functions. (Experimental) mod_log_debug Allows the addition of customizable debug logging at different phases to use complex boolean expressions in RewriteCond. Allows the use of SQL queries as RewriteMap functions. mod_ldap, mod_authnz_ldap mod_authnz_ldap adds support for nested groups. mod_ldap adds LDAPConnectionPoolTTL console. The user can thus be alerted to misconfiguration problems before the core open_logs hook function redirects console output to the error log. Expression Parser Added We now have a general-purpose0 码力 | 2533 页 | 2.09 MB | 1 年前3
httpd 2.4.18 中文文档authorization. mod_lua Embeds the Lua language into httpd, for configuration and small business logic functions. (Experimental) mod_log_debug Allows the addition of customizable debug logging at different phases to use complex boolean expressions in RewriteCond. Allows the use of SQL queries as RewriteMap functions. mod_ldap, mod_authnz_ldap mod_authnz_ldap adds support for nested groups. mod_ldap adds LDAPConnectionPoolTTL console. The user can thus be alerted to misconfiguration problems before the core open_logs hook function redirects console output to the error log. Expression Parser Added We now have a general-purpose0 码力 | 2467 页 | 1.89 MB | 1 年前3
共 605 条
- 1
- 2
- 3
- 4
- 5
- 6
- 61













