[issue44995] "Hide the prompts and output" works abnormal

2021-08-24 Thread
New submission from 杨青 : 【url】https://docs.python.org/3/tutorial/classes.html 【chapter】9.4. Random Remarks 【problem description】 When I click on the demo "Hide the prompts and output" switch, the class definition statements were also hided. Please take a look as the appended

[issue44966] example code does not macth the very version(3.9)

2021-08-20 Thread
New submission from 杨青 : 【url】https://docs.python.org/3/tutorial/errors.html 【chapter】8.2. Exceptions 【origina example code】 >>> '2' + 2 Traceback (most recent call last): File "", line 1, in TypeError: Can't convert 'int' object to str implicitly 【what i got in pr

[issue44907] examples code output do not macth the current version 3.9

2021-08-13 Thread
New submission from 杨青 : https://docs.python.org/3/tutorial/controlflow.html I got like this following: TypeError: function() got multiple values for argument 'a' not: TypeError: function() got multiple values for keyword argument 'a' >>> def function(a): ... pass ... >>&g