Python 标准库参考指南 3.10.15 +4:30. # If dt falls in the imaginary range, use fold to decide how # to resolve. See PEP495. return timedelta(hours=4, minutes=(30 if dt.fold else 0)) else: 参见: metaclasses 这些函数所支持的类创建过程的完整细节 PEP 3115 - Python 3000 中的元类 引入 __prepare__ 命名空间钩子 types. **resolve_bases** (*bases*) 动态地解析MRO条目,具体描述见PEP560。 此函数会在 bases 中查找不是 type 的实例的项,并返回一个元组,其中每个具有 __mro_entries__ g(obj): return resolve_attr(obj, attr) else: def g(obj): return tuple(resolve_attr(obj, attr) for attr in items) return g def resolve_attr(obj, attr): for0 码力 | 2072 页 | 10.39 MB | 1 年前3
Did you know …? 15 less known webpack features in 15 minutes*/}^{+/routes/$name}.js); ### resolve.alias • You can redirect module requests to your wishes • Use cases: Drop-in-replacements, wrong/missing main field, application root resolve: { alias: { // drop-in "app": path.resolve(__dirname, "src"), // require("app/abc") ~, ~: path.resolve(__dirname, "src") // require("~~/abc") } ### resolve.modules • You can configure webpack looks for modules • Use cases: Directory with own modules resolve: { modules: [ // Add your own directory path.resolve(__目录名, "src/modules"), // Look in node_modules too0 码力 | 21 页 | 695.29 KB | 2 年前3
JavaScript Promise迷你书(中文版)什么是Promise ..... 5 Promise简介 ..... 7 编写Promise代码 ..... 10 Chapter.2 - 实战Promise ..... 14 Promise.resolve ..... 14 Promise.reject ..... 17 专栏: Promise只能进行异步操作? ..... 17 Promise#then ..... 20 Promise#catch 编写可控测试(controllable tests) ..... 52 Chapter.4 - Advanced ..... 56 Promise的实现类库(Library) ..... 56 Promise.resolve和Thenable ..... 59 使用reject而不是throw ..... 68 Deferred和Promise ..... 71 使用Promise.race和delay取消XHR请求 Promises API Reference ..... 107 Promise#then ..... 107 Promise#catch ..... 107 Promise.resolve ..... 108 Promise.reject ..... 108 Promise.all ..... 109 Promise.race ..... 109 用語集 ....0 码力 | 112 页 | 1010.02 KB | 2 年前3
JavaScript Promiseの本 v25 Promise Overview ..... 8 Promiseの書き方 ..... 12 Chapter.2 - Promiseの書き方 ..... 16 Promise.resolve ..... 16 Promise.reject ..... 19 コラム: Promiseは常に非同期? ..... 19 Promise#then ..... 22 Promise#catch . 53 意図したテストを書くには ..... 58 Chapter.4 - Advanced ..... 62 Promiseのライブラリ ..... 62 Promise.resolveとThenable ..... 65 throwしないで、rejectしよう ..... 74 DeferredとPromise ..... 77 Promise.raceとdelayによるXHRのキャンセル Promises API Reference 131 Promise#then 131 Promise#catch 132 Promise#finally 132 Promise.resolve 133 Promise.reject 134 Promise.all 134 Promise.race 135 用語集 135 参考サイト 136 著者について 1360 码力 | 137 页 | 1.17 MB | 2 年前3
JavaScript Promiseの本 v15 Promise Overview ..... 7 Promiseの書き方 ..... 11 Chapter.2 - Promiseの書き方 ..... 14 Promise.resolve ..... 15 Promise.reject ..... 18 コラム: Promiseは常に非同期? ..... 18 Promise#then ..... 21 Promise#catch . 49 意図したテストを書くには ..... 54 Chapter.4 - Advanced ..... 58 Promiseのライブラリ ..... 58 Promise.resolveとThenable ..... 61 throwしないで、rejectしよう ..... 70 DeferredとPromise ..... 73 Promise.raceとdelayによるXHRのキャンセル Promises API Reference ..... 110 Promise#then ..... 110 Promise#catch ..... 110 Promise.resolve ..... 111 Promise.reject ..... 112 Promise.all ..... 112 Promise.race ..... 113 用語集 ....0 码力 | 115 页 | 1.06 MB | 2 年前3
Conda 4.6.0 Documentation5.1.1 New Feature Highlights • resolve #7053 preview support for conda operability with pip (#7067, #7370, #7710) • conda initialize (#6518, #7388, #7629) • resolve #7194 add '-stack' flag to (#7195, #7226, #7233) • resolve #7087 add non-conda-installed python packages into PrefixData (#7067, #7370) • resolve #2682 add ‘conda run’ preview support (#7320, #7625) • resolve #626 conda wrapper for Deprecations/Breaking Changes • resolve #6915 remove ‘conda env attach’ and ‘conda env upload’ (#6916) • resolve #7061 remove pkgs/pro from defaults (#7162) • resolve #7078 add deprecation warnings for0 码力 | 190 页 | 728.67 KB | 1 年前3
Conda 4.6.1 Documentation5.1.1 New Feature Highlights • resolve #7053 preview support for conda operability with pip (#7067, #7370, #7710) • conda initialize (#6518, #7388, #7629) • resolve #7194 add '-stack' flag to (#7195, #7226, #7233) • resolve #7087 add non-conda-installed python packages into PrefixData (#7067, #7370) • resolve #2682 add ‘conda run’ preview support (#7320, #7625) • resolve #626 conda wrapper for Deprecations/Breaking Changes • resolve #6915 remove ‘conda env attach’ and ‘conda env upload’ (#6916) • resolve #7061 remove pkgs/pro from defaults (#7162) • resolve #7078 add deprecation warnings for0 码力 | 190 页 | 728.57 KB | 1 年前3
Conda 23.3.x Documentationdependencies that need to be resolved manually. Installing packages directly from the file does not resolve dependencies. ## I nstalling conda packages with a specific build number If you want to install root certificate provided by your company rather than conda's generic ones. One workflow to resolve this on macOS is: • Open Chrome, got to any website, click on the lock icon on the left of the URL 3.7, then on the command line, type conda install /opt/conda/pkgs/conda-4.6.1-py37_0.tar.bz2 to resolve the issue. #### 1.7.17 ValidationError: Invalid value for timestamp ## Cause This happens when0 码力 | 370 页 | 2.94 MB | 1 年前3
Conda 23.5.x Documentationdependencies that need to be resolved manually. Installing packages directly from the file does not resolve dependencies. ## I nstalling conda packages with a specific build number If you want to install root certificate provided by your company rather than conda's generic ones. One workflow to resolve this on macOS is: • Open Chrome, got to any website, click on the lock icon on the left of the URL 3.7, then on the command line, type conda install /opt/conda/pkgs/conda-4.6.1-py37_0.tar.bz2 to resolve the issue. #### 1.7.17 ValidationError: Invalid value for timestamp ## Cause This happens when0 码力 | 370 页 | 3.11 MB | 1 年前3
Conda 25.1.x Documentationroot certificate provided by your company rather than conda's generic ones. One workflow to resolve this on macOS is: • Open Chrome, got to any website, click on the lock icon on the left of the URL dependencies that need to be resolved manually. Installing packages directly from the file does not resolve dependencies. ## I nstalling conda packages with a specific build number If you want to install 3.7, then on the command line, type conda install /opt/conda/pkgs/conda-4.6.1-py37_0.tar.bz2 to resolve the issue. ValidationError: Invalid value for timestamp ## Cause This happens when certain packages0 码力 | 822 页 | 5.20 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
Path模块readlink()rename()resolve()rglob()Webpackimport()魔注释electron目标DIIPluginPromisePromise.allPromise.race异步处理Promise链非同期処理thenablePromiseチェーンXHRJavaScriptPolyfillPromises/A+ライブラリCondaConda CommandsConda ConfigurationConda Python APIRelease notesconda-envConda Configuration Enginecondadeprecationssupportfeaturesimprovementsbug fixesdocumentation updatesconfigurationenvironmentspackages













