[issue28681] About function renaming in the tutorial

2016-11-12 Thread Xue Fuqiao
New submission from Xue Fuqiao: In https://hg.python.org/cpython/file/6fbb7c9d77c6/Doc/tutorial/controlflow.rst#l295 : A function definition introduces the function name in the current symbol table. The value of the function name has a type that is recognized by the interpreter

[issue18412] Minor problem in PEP 8

2013-07-09 Thread Xue Fuqiao
New submission from Xue Fuqiao: PEP 8 says: --- |The closing brace/bracket/parenthesis on multi-line constructs may |either line up under the last item of the list, as in: | |my_list = [ |1, 2, 3, |4, 5, 6

[issue18403] Minor bug in The Python Tutorial

2013-07-08 Thread Xue Fuqiao
New submission from Xue Fuqiao: In http://docs.python.org/3.3/tutorial/introduction.html#strings: In addition to indexing, slicing is also supported. While indexing is used to obtain individual characters, slicing allows you to obtain substring: word[0:2] # characters from position 0