Python 标准库参考指南 2.7.18 列 的 更 好 更 快 方 式 是 调 用 ''. join(sequence)。要以扩展精度对浮点值求和,请参阅math.fsum()。要拼接一系列可迭代对 象,请考虑使用itertools.chain()。 2.3 新版功能. super(type[, object-or-type]) 返回一个代理对象,它会将方法调用委托给 type 指定的父类或兄弟类。这对于访问已在类中被重载的 继承 con- crete subclass, and (at least) supply implementations of the standard tzinfo methods needed by the datetime methods you use. The datetime module does not supply any concrete subclasses of tzinfo. first encountered, it is missing from the mapping, so the default_factory function calls int() to supply a default count of zero. The increment operation then builds up the count for each letter. The function0 码力 | 1552 页 | 7.42 MB | 9 月前3
Python 标准库参考指南 2.7.18 列 的 更 好 更 快 方 式 是 调 用 ''. join(sequence)。要以扩展精度对浮点值求和,请参阅math.fsum()。要拼接一系列可迭代对 象,请考虑使用itertools.chain()。 2.3 新版功能. super(type[, object-or-type]) 返回一个代理对象,它会将方法调用委托给 type 指定的父类或兄弟类。这对于访问已在类中被重载的 继承 con- crete subclass, and (at least) supply implementations of the standard tzinfo methods needed by the datetime methods you use. The datetime module does not supply any concrete subclasses of tzinfo. first encountered, it is missing from the mapping, so the default_factory function calls int() to supply a default count of zero. The increment operation then builds up the count for each letter. The function0 码力 | 1552 页 | 7.42 MB | 9 月前3
Python 标准库参考指南 2.7.18 列 的 更 好 更 快 方 式 是 调 用 ''. join(sequence)。要以扩展精度对浮点值求和,请参阅math.fsum()。要拼接一系列可迭代对 象,请考虑使用itertools.chain()。 2.3 新版功能. super(type[, object-or-type]) 返回一个代理对象,它会将方法调用委托给 type 指定的父类或兄弟类。这对于访问已在类中被重载的 继承 con- crete subclass, and (at least) supply implementations of the standard tzinfo methods needed by the datetime methods you use. The datetime module does not supply any concrete subclasses of tzinfo. first encountered, it is missing from the mapping, so the default_factory function calls int() to supply a default count of zero. The increment operation then builds up the count for each letter. The function0 码力 | 1552 页 | 7.42 MB | 9 月前3
Celery 2.1 DocumentationTokenBucket from celery.utils import timeutils from celery.utils.compat import all, izip_longest, chain_from_iterable • Wildcard imports must not be used (from xxx import *). 94 Chapter 6. Contributing set, this is used as the default URL for requests. Default is to require the user of the task to supply the url as an argument, as this attribute is intended for subclasses. method If this is set, this this is the default method used for requests. Default is to require the user of the task to supply the method as an argument, as this attribute is intended for subclasses. method = None name = ‘celery0 码力 | 285 页 | 1.19 MB | 1 年前3
Django Q Documentation
Release 0.7.13any of the parameters exposed by pymongo’s MongoClient If you want to use a mongodb uri, you can supply it as the host parameter. 1.2.20 mongo_db When using the MongoDB broker you can optionally provide sequentially. For that you can use the async_chain() function: # Async a chain of tasks from django_q.tasks import async_chain, result_group # the chain must be in the format # [(func,(args),{kwargs}) group_id = async_chain([('math.copysign', (1, -1)), ('math.floor', (1,))]) # get group result result_group(group_id, count=2) A slightly more convenient way is to use a Chain instance: # Chain async from0 码力 | 56 页 | 416.37 KB | 1 年前3
Django Q Documentation
Release 0.7.11any of the parameters exposed by pymongo’s MongoClient If you want to use a mongodb uri, you can supply it as the host parameter. 1.2.20 mongo_db When using the MongoDB broker you can optionally provide sequentially. For that you can use the async_chain() function: # Async a chain of tasks from django_q.tasks import async_chain, result_group # the chain must be in the format # [(func,(args),{kwargs}) group_id = async_chain([('math.copysign', (1, -1)), ('math.floor', (1,))]) # get group result result_group(group_id, count=2) A slightly more convenient way is to use a Chain instance: # Chain async from0 码力 | 54 页 | 412.45 KB | 1 年前3
Django Q Documentation
Release 0.7.10go/mongo_client.html#pymongo.mongo_client.MongoClient] If you want to use a mongodb uri, you can supply it as the host parameter. mongo_db When using the MongoDB broker you can optionally provide a database sequentially. For that you can use the async_chain() function: # Async a chain of tasks from django_q.tasks import async_chain, result_group # the chain must be in the format # [(func,(args),{kwargs}) = async_chain([('math.copysign', (1, -1)), ('math.floor', (1,))]) # get group result result_group(group_id, count=2) A slightly more convenient way is to use a Chain instance:0 码力 | 67 页 | 518.39 KB | 1 年前3
Django Q Documentation
Release 0.7.12any of the parameters exposed by pymongo’s MongoClient If you want to use a mongodb uri, you can supply it as the host parameter. 1.2.20 mongo_db When using the MongoDB broker you can optionally provide sequentially. For that you can use the async_chain() function: # Async a chain of tasks from django_q.tasks import async_chain, result_group # the chain must be in the format # [(func,(args),{kwargs}) group_id = async_chain([('math.copysign', (1, -1)), ('math.floor', (1,))]) # get group result result_group(group_id, count=2) A slightly more convenient way is to use a Chain instance: # Chain async from0 码力 | 56 页 | 415.46 KB | 1 年前3
Django Q Documentation
Release 0.7.10any of the parameters exposed by pymongo’s MongoClient If you want to use a mongodb uri, you can supply it as the host parameter. 1.2.20 mongo_db When using the MongoDB broker you can optionally provide sequentially. For that you can use the async_chain() function: # Async a chain of tasks from django_q.tasks import async_chain, result_group # the chain must be in the format # [(func,(args),{kwargs}) group_id = async_chain([('math.copysign', (1, -1)), ('math.floor', (1,))]) # get group result result_group(group_id, count=2) A slightly more convenient way is to use a Chain instance: # Chain async from0 码力 | 52 页 | 406.50 KB | 1 年前3
Django Q Documentation
Release 0.7.17any of the parameters exposed by pymongo’s MongoClient If you want to use a mongodb uri, you can supply it as the host parameter. 1.2.20 mongo_db When using the MongoDB broker you can optionally provide sequentially. For that you can use the async_chain() function: # Async a chain of tasks from django_q.tasks import async_chain, result_group # the chain must be in the format # [(func,(args),{kwargs}) group_id = async_chain([('math.copysign', (1, -1)), ('math.floor', (1,))]) # get group result result_group(group_id, count=2) A slightly more convenient way is to use a Chain instance: # Chain async from0 码力 | 56 页 | 416.84 KB | 1 年前3
共 390 条
- 1
- 2
- 3
- 4
- 5
- 6
- 39













