Tornado 6.5 DocumentationEntry(tornado.web.UIModule): def render(self, entry, show_comments=False): return self.render_string( "module-entry.html", entry=entry, show_comments=show_comments) Tell Tornado to use uimodules.py using the ui_modules in entries %} {% module Entry(entry) %} {% end %} and entry.html: {% module Entry(entry, show_comments=True) %} Modules can include custom CSS and JavaScript functions by overriding the embedded_css margin-bottom: 1em; }" def render(self, entry, show_comments=False): return self.render_string( "module-entry.html", show_comments=show_comments) Module CSS and JavaScript will be included once no0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.5 DocumentationUIModule): def render(self, entry, show_comments=False): return self.render_string( "module-entry.html", entry=entry, show_comments=show_comments) Tell Tornado to use uimodules.py using entries %} {% module Entry(entry) %} {% end %} and entry.html: {% module Entry(entry, show_comments=True) %} Modules can include custom CSS and JavaScript functions by overriding the embedded_css margin-bottom: 1em; }" def render(self, entry, show_comments=False): return self.render_string( "module-entry.html", show_comments=show_comments) Module CSS and JavaScript will be included0 码力 | 437 页 | 405.14 KB | 3 月前3
julia 1.13.0 DEVwill be interpreted as documenting it (these are called docstrings). Note that no blank lines or comments may intervene between a docstring and the documented object. Here is a basic example: "Tell whether 37.3 Write docstrings Comments describing an object should typically be written as docstrings for editor and REPL accessibility. Inline comments (# comment) and multiline comments (#= comment =#) are appropriate reverse("JuliaLang") "gnaLailuJ" Note The examples below may be rendered differently on different systems. The comments indicate how they're supposed to be rendered Combining characters can lead to surprising results:0 码力 | 2058 页 | 7.45 MB | 3 月前3
julia 1.10.10will be interpreted as documenting it (these are called docstrings). Note that no blank lines or comments may intervene between a docstring and the documented object. Here is a basic example: "Tell whether reverse("JuliaLang") "gnaLailuJ" Note The examples below may be rendered differently on different systems. The comments in- dicate how they're supposed to be rendered Combining characters can lead to surprising results: their arguments by convention # the number sign (or hash or pound) character begins single line comments #= when followed by an equals sign, it begins a multi-line comment (these are nestable) =# end0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.10.9will be interpreted as documenting it (these are called docstrings). Note that no blank lines or comments may intervene between a docstring and the documented object. Here is a basic example: "Tell whether reverse("JuliaLang") "gnaLailuJ" Note The examples below may be rendered differently on different systems. The comments in- dicate how they're supposed to be rendered Combining characters can lead to surprising results: their arguments by convention # the number sign (or hash or pound) character begins single line comments #= when followed by an equals sign, it begins a multi-line comment (these are nestable) =# end0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.11.4will be interpreted as documenting it (these are called docstrings). Note that no blank lines or comments may intervene between a docstring and the documented object. Here is a basic example: "Tell whether reverse("JuliaLang") "gnaLailuJ" Note The examples below may be rendered differently on different systems. The comments indicate how they're supposed to be rendered Combining characters can lead to surprising results: their arguments by convention # the number sign (or hash or pound) character begins single line comments #= when followed by an equals sign, it begins a multi-line comment (these are nestable) =# end0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.5 Documentationwill be interpreted as documenting it (these are called docstrings). Note that no blank lines or comments may intervene between a docstring and the documented object. Here is a basic example: "Tell whether reverse("JuliaLang") "gnaLailuJ" Note The examples below may be rendered differently on different systems. The comments indicate how they're supposed to be rendered Combining characters can lead to surprising results: their arguments by convention # the number sign (or hash or pound) character begins single line comments #= when followed by an equals sign, it begins a multi-line comment (these are nestable) =# end0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.6 Release Noteswill be interpreted as documenting it (these are called docstrings). Note that no blank lines or comments may intervene between a docstring and the documented object. Here is a basic example: "Tell whether reverse("JuliaLang") "gnaLailuJ" Note The examples below may be rendered differently on different systems. The comments indicate how they're supposed to be rendered Combining characters can lead to surprising results: their arguments by convention # the number sign (or hash or pound) character begins single line comments #= when followed by an equals sign, it begins a multi-line comment (these are nestable) =# end0 码力 | 2007 页 | 6.73 MB | 3 月前3
A Seat at the Table - IT Leadership in the Age of AgilityOn the Agile for Defense Facebook group, I created a post where you can post your feedback as comments on the post. The URL to that post is: https://www.facebook.com/groups/AgileForDefense/permalink/2557027747901552/0 码力 | 7 页 | 387.48 KB | 5 月前3
Julia 1.12.0 RC1will be interpreted as documenting it (these are called docstrings). Note that no blank lines or comments may intervene between a docstring and the documented object. Here is a basic example: "Tell whether reverse("JuliaLang") "gnaLailuJ" Note The examples below may be rendered differently on different systems. The comments indicate how they're supposed to be rendered Combining characters can lead to surprising results: their arguments by convention # the number sign (or hash or pound) character begins single line comments #= when followed by an equals sign, it begins a multi-line comment (these are nestable) =# end0 码力 | 2057 页 | 7.44 MB | 3 月前3
共 14 条
- 1
- 2













