Nim 2.0.8 Manual
of the platform. Indentation Nim's standard grammar describes an indentation sensitive language. This means that all the control structures are recognized by indentation. Indentation consists only of tabulators are not allowed. The indentation handling is implemented as follows: The lexer annotates the following token with the preceding number of spaces; indentation is not a separate token. This trick with only 1 token of lookahead. The parser uses a stack of indentation levels: the stack consists of integers counting the spaces. The indentation information is queried at strategic places in the parser0 码力 | 132 页 | 5.73 MB | 1 年前3Google Java Style Guide
whitespace characters in string and character literals are escaped. 2. Tab characters are not used for indentation. 2.3.2 Special escape sequences For any character that has a special escape sequence (\b, \t multiple blocks: if/else-if/else or try/catch/finally). Example: void doNothing() {} 4.2 Block indentation: +2 spaces Each time a new block or block-like construct is opened, the indent increases by two When there are multiple continuation lines, indentation may be varied beyond +4 as desired. In general, two continuation lines use the same indentation level if and only if they begin with syntactically0 码力 | 19 页 | 84.76 KB | 1 年前3Falcon v3.0.0-b1 Documentation
CSV Files Streaming Large CSV Files on the Fly Prettifying JSON Responses Supporting optional indentation Request ID Logging Capitalizing Response Header Names Falcon always renders WSGI response header performance overhead on the server side nor requires any customization effort. Supporting optional indentation Internet media type (content-type) negotiation is the canonical way to express resource representation frameworks (such as the Django REST Framework) and services support requesting a specific JSON indentation level using the indent content-type parameter. This recipe leaves the interpretation to the reader0 码力 | 1028 页 | 725.86 KB | 1 年前3Falcon v3.0.0 Documentation
CSV Files Streaming Large CSV Files on the Fly Prettifying JSON Responses Supporting optional indentation Request ID Logging Capitalizing Response Header Names Falcon always renders WSGI response header performance overhead on the server side nor requires any customization effort. Supporting optional indentation Internet media type (content-type) negotiation is the canonical way to express resource representation frameworks (such as the Django REST Framework) and services support requesting a specific JSON indentation level using the indent content-type parameter. This recipe leaves the interpretation to the reader0 码力 | 1055 页 | 739.30 KB | 1 年前3Falcon v3.0.1 Documentation
CSV Files Streaming Large CSV Files on the Fly Prettifying JSON Responses Supporting optional indentation Request ID Logging Capitalizing Response Header Names Falcon always renders WSGI response header performance overhead on the server side nor requires any customization effort. Supporting optional indentation Internet media type (content-type) negotiation is the canonical way to express resource representation frameworks (such as the Django REST Framework) and services support requesting a specific JSON indentation level using the indent content-type parameter. This recipe leaves the interpretation to the reader0 码力 | 1058 页 | 741.59 KB | 1 年前3Falcon v3.0.0-b2 Documentation
CSV Files Streaming Large CSV Files on the Fly Prettifying JSON Responses Supporting optional indentation Request ID Logging Capitalizing Response Header Names Falcon always renders WSGI response header performance overhead on the server side nor requires any customization effort. Supporting optional indentation Internet media type (content-type) negotiation is the canonical way to express resource representation frameworks (such as the Django REST Framework) and services support requesting a specific JSON indentation level using the indent content-type parameter. This recipe leaves the interpretation to the reader0 码力 | 1041 页 | 730.21 KB | 1 年前3Jupyter Notebook 5.0.0 Documentation
front end configuration works Example - Changing the notebook’s default indentation Example - Restoring the notebook’s default indentation Persisting configuration settings Distributing Jupyter Extensions features of the web application In-browser editing for code, with automatic syntax highlighting, indentation, and tab completion/introspection. The ability to execute code from the browser, with the results front-end configuration works Example: Changing the notebook’s default indentation setting Example: Restoring the notebook’s default indentation setting Persisting configuration settings Notebook extensions0 码力 | 184 页 | 4.40 MB | 1 年前3Jupyter Notebook 5.1.0 Documentation
front end configuration works Example - Changing the notebook’s default indentation Example - Restoring the notebook’s default indentation Persisting configuration settings Distributing Jupyter Extensions features of the web application In-browser editing for code, with automatic syntax highlighting, indentation, and tab completion/introspection. The ability to execute code from the browser, with the results front-end configuration works Example: Changing the notebook’s default indentation setting Example: Restoring the notebook’s default indentation setting Persisting configuration settings Notebook extensions0 码力 | 184 页 | 4.36 MB | 1 年前3Jupyter Notebook 5.2.2 Documentation
front end configuration works Example - Changing the notebook’s default indentation Example - Restoring the notebook’s default indentation Persisting configuration settings Distributing Jupyter Extensions features of the web application In-browser editing for code, with automatic syntax highlighting, indentation, and tab completion/introspection. The ability to execute code from the browser, with the results front-end configuration works Example: Changing the notebook’s default indentation setting Example: Restoring the notebook’s default indentation setting Persisting configuration settings Notebook extensions0 码力 | 183 页 | 4.36 MB | 1 年前3Google Python Style Guide
Decorators Threading Power Features 1 Python Style Rules Semicolons Line length Parentheses Indentation Blank Lines Whitespace Shebang Line Comments Classes Strings Files and Sockets TODO Comments Imports 0/csv_file_name_extension_full_specification.html Make note of the indentation of the elements in the line continuation examples above; see the indentation section for explanation. Parentheses link Use parentheses bar() return foo for (x, y) in dict.items(): ... No: if (x): bar() if not(x): bar() return (foo) Indentation link Indent your code blocks with 4 spaces. Never use tabs or mix tabs and spaces. In cases0 码力 | 30 页 | 94.81 KB | 1 年前3
共 779 条
- 1
- 2
- 3
- 4
- 5
- 6
- 78