File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1461,7 +1461,7 @@ BaseException
1461
1461
| +-- ConnectionError # Errors such as BrokenPipeError/ConnectionAbortedError.
1462
1462
+-- RuntimeError # Raised by errors that don't fall into other categories.
1463
1463
| +-- NotImplementedEr… # Can be raised by abstract methods or by unfinished code.
1464
- | +-- RecursionError # Raised when the maximum recursion depth is exceeded.
1464
+ | +-- RecursionError # Raised if max recursion depth is exceeded (3k by default) .
1465
1465
+-- StopIteration # Raised when an empty iterator is passed to next().
1466
1466
+-- TypeError # When an argument of the wrong type is passed to function.
1467
1467
+-- ValueError # When argument has the right type but inappropriate value.
@@ -1528,7 +1528,7 @@ Input
1528
1528
```
1529
1529
* ** Reads a line from the user input or pipe if present (trailing newline gets stripped).**
1530
1530
* ** If argument is passed, it gets printed to the standard output before input is read.**
1531
- * ** EOFError is raised if user hits EOF (ctrl-d/ctrl-z⏎) or input stream gets exhausted.**
1531
+ * ** EOFError is raised if user hits EOF (ctrl-d/ctrl-z⏎) or if input stream is exhausted.**
1532
1532
1533
1533
1534
1534
Command Line Arguments
Original file line number Diff line number Diff line change 1257
1257
│ └── ConnectionError < span class ="hljs-comment "> # Errors such as BrokenPipeError/ConnectionAbortedError.</ span >
1258
1258
├── RuntimeError < span class ="hljs-comment "> # Raised by errors that don't fall into other categories.</ span >
1259
1259
│ ├── NotImplementedEr… < span class ="hljs-comment "> # Can be raised by abstract methods or by unfinished code.</ span >
1260
- │ └── RecursionError < span class ="hljs-comment "> # Raised when the maximum recursion depth is exceeded.</ span >
1260
+ │ └── RecursionError < span class ="hljs-comment "> # Raised if max recursion depth is exceeded (3k by default) .</ span >
1261
1261
├── StopIteration < span class ="hljs-comment "> # Raised when an empty iterator is passed to next().</ span >
1262
1262
├── TypeError < span class ="hljs-comment "> # When an argument of the wrong type is passed to function.</ span >
1263
1263
└── ValueError < span class ="hljs-comment "> # When argument has the right type but inappropriate value.</ span >
1310
1310
< ul >
1311
1311
< li > < strong > Reads a line from the user input or pipe if present (trailing newline gets stripped).</ strong > </ li >
1312
1312
< li > < strong > If argument is passed, it gets printed to the standard output before input is read.</ strong > </ li >
1313
- < li > < strong > EOFError is raised if user hits EOF (ctrl-d/ctrl-z⏎) or input stream gets exhausted.</ strong > </ li >
1313
+ < li > < strong > EOFError is raised if user hits EOF (ctrl-d/ctrl-z⏎) or if input stream is exhausted.</ strong > </ li >
1314
1314
</ ul >
1315
1315
< div > < h2 id ="commandlinearguments "> < a href ="#commandlinearguments " name ="commandlinearguments "> #</ a > Command Line Arguments</ h2 > < pre > < code class ="python language-python hljs "> < span class ="hljs-keyword "> import</ span > sys
1316
1316
scripts_path = sys.argv[< span class ="hljs-number "> 0</ span > ]
Original file line number Diff line number Diff line change @@ -476,7 +476,7 @@ const DIAGRAM_7_B =
476
476
" │ └── ConnectionError <span class='hljs-comment'># Errors such as BrokenPipeError/ConnectionAbortedError.</span>\n" +
477
477
" ├── RuntimeError <span class='hljs-comment'># Raised by errors that don't fall into other categories.</span>\n" +
478
478
" │ ├── NotImplementedEr… <span class='hljs-comment'># Can be raised by abstract methods or by unfinished code.</span>\n" +
479
- " │ └── RecursionError <span class='hljs-comment'># Raised when the maximum recursion depth is exceeded.</span>\n" +
479
+ " │ └── RecursionError <span class='hljs-comment'># Raised if max recursion depth is exceeded (3k by default) .</span>\n" +
480
480
" ├── StopIteration <span class='hljs-comment'># Raised when an empty iterator is passed to next().</span>\n" +
481
481
" ├── TypeError <span class='hljs-comment'># When an argument of the wrong type is passed to function.</span>\n" +
482
482
" └── ValueError <span class='hljs-comment'># When argument has the right type but inappropriate value.</span>\n" ;
You can’t perform that action at this time.
0 commit comments