Rust 程序设计语言 简体中文版 1.85.0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 7. 使用包、Crate 和模块管理不断增长的项目 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 7.2. 定义模块来控制作用域与私有性 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 7.3. 引用模块树中项的路径 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 7.5. 将模块拆分成多个文件 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 562 页 | 3.23 MB | 1 月前3
Tornado 6.5 Documentationbased on the supported locales. For example, if the user’s locale is es_GT, and the es locale is supported, self.locale will be es for that request. We fall back on en_US if no close match can be found localized strings. To load a locale and generate a translated string: user_locale = tornado.locale.get("es_LA") print(user_locale.translate("Sign out")) tornado.locale.get() returns the closest matching locale associated translations. The directory should have translation files of the form LOCALE.csv, e.g. es_GT.csv. The CSV files should have two or three columns: string, translation, and an optional plural0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.5 Documentationbased on the supported locales. For example, if the user’s locale is es_GT, and the es locale is supported, self.locale will be es for that request. We fall back on en_US if no close match can be found localized strings. To load a locale and generate a translated string: user_locale = tornado.locale.get("es_LA") print(user_locale.translate("Sign out")) tornado.locale.get() returns the closest matching associated translations. The directory should have translation files of the form LOCALE.csv, e.g. es_GT.csv. The CSV files should have two or three columns: string, translation, and an optional plural0 码力 | 437 页 | 405.14 KB | 3 月前3
Julia 1.11.4newlines. • x enables "free-spacing mode": whitespace between regex tokens is ignored except when es- caped with \, and # in the regex is treated as starting a comment (which is ignored to the line "quick" => "", count=1) "The foxes run quickly." julia> replace("The quick foxes run quickly.", r"fox(es)?" => s"bus\1") "The quick buses run quickly." julia> replace("abcabc", "a" => "b", "b" => "c", r" Add a fetch refspec for the specified rmt. This refspec will contain information about which branch(es) to fetch from. Examples julia> LibGit2.add_fetch!(repo, remote, "upstream"); julia> LibGit2.f0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.5 Documentationnewlines. • x enables "free-spacing mode": whitespace between regex tokens is ignored except when es- caped with \, and # in the regex is treated as starting a comment (which is ignored to the line "quick" => "", count=1) "The foxes run quickly." julia> replace("The quick foxes run quickly.", r"fox(es)?" => s"bus\1") "The quick buses run quickly." julia> replace("abcabc", "a" => "b", "b" => "c", r" Add a fetch refspec for the specified rmt. This refspec will contain information about which branch(es) to fetch from. Examples julia> LibGit2.add_fetch!(repo, remote, "upstream"); julia> LibGit2.f0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.6 Release Notesnewlines. • x enables "free-spacing mode": whitespace between regex tokens is ignored except when es- caped with \, and # in the regex is treated as starting a comment (which is ignored to the line "quick" => "", count=1) "The foxes run quickly." julia> replace("The quick foxes run quickly.", r"fox(es)?" => s"bus\1") "The quick buses run quickly." julia> replace("abcabc", "a" => "b", "b" => "c", r" Add a fetch refspec for the specified rmt. This refspec will contain information about which branch(es) to fetch from. Examples julia> LibGit2.add_fetch!(repo, remote, "upstream"); julia> LibGit2.f0 码力 | 2007 页 | 6.73 MB | 3 月前3
julia 1.10.10"quick" => "", count=1) "The foxes run quickly." julia> replace("The quick foxes run quickly.", r"fox(es)?" => s"bus\1") "The quick buses run quickly." julia> replace("abcabc", "a" => "b", "b" => "c", r" Add a fetch refspec for the specified rmt. This refspec will contain information about which branch(es) to fetch from. Examples julia> LibGit2.add_fetch!(repo, remote, "upstream"); julia> LibGit2.f Add a push refspec for the specified rmt. This refspec will contain information about which branch(es) to push to. Examples julia> LibGit2.add_push!(repo, remote, "refs/heads/master"); julia> remote0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.10.9"quick" => "", count=1) "The foxes run quickly." julia> replace("The quick foxes run quickly.", r"fox(es)?" => s"bus\1") "The quick buses run quickly." julia> replace("abcabc", "a" => "b", "b" => "c", r" Add a fetch refspec for the specified rmt. This refspec will contain information about which branch(es) to fetch from. Examples julia> LibGit2.add_fetch!(repo, remote, "upstream"); julia> LibGit2.f Add a push refspec for the specified rmt. This refspec will contain information about which branch(es) to push to. Examples julia> LibGit2.add_push!(repo, remote, "refs/heads/master"); julia> remote0 码力 | 1692 页 | 6.34 MB | 3 月前3
julia 1.13.0 DEVnewlines. • x enables "free-spacing mode": whitespace between regex tokens is ignored except when es- caped with \, and # in the regex is treated as starting a comment (which is ignored to the line "quick" => "", count=1) "The foxes run quickly." julia> replace("The quick foxes run quickly.", r"fox(es)?" => s"bus\1") "The quick buses run quickly." julia> replace("abcabc", "a" => "b", "b" => "c", r" Add a fetch refspec for the specified rmt. This refspec will contain information about which branch(es) to fetch from. Examples julia> LibGit2.add_fetch!(repo, remote, "upstream"); julia> LibGit2.f0 码力 | 2058 页 | 7.45 MB | 3 月前3
Julia 1.12.0 RC1newlines. • x enables "free-spacing mode": whitespace between regex tokens is ignored except when es- caped with \, and # in the regex is treated as starting a comment (which is ignored to the line "quick" => "", count=1) "The foxes run quickly." julia> replace("The quick foxes run quickly.", r"fox(es)?" => s"bus\1") "The quick buses run quickly." julia> replace("abcabc", "a" => "b", "b" => "c", r" Add a fetch refspec for the specified rmt. This refspec will contain information about which branch(es) to fetch from. Examples julia> LibGit2.add_fetch!(repo, remote, "upstream"); julia> LibGit2.f0 码力 | 2057 页 | 7.44 MB | 3 月前3
共 13 条
- 1
- 2













