What interprets `print` as a space?

What is the complete list of space characters that printinterprets as such?

I need to really understand how the operator works printin Python. So far so strange, but this is one detail that I cannot understand:

The Python reference manual, chapter 6.6, says:

... when the last character written to standard output is a space character other than ``, ...

I know that the most common gap for this case is "\ n", but I need to know the rest.

+4
source share
1 answer

CPython , , , isspace() true, :

  • \f ( )
  • \n (linefeed)
  • \r ( )
  • \t ( )
  • \v ( )
+2

All Articles