mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Clarify that the softspace attribute is used by print for state management,
not as a user-controlled parameter.
This commit is contained in:
parent
f5aa4ef07c
commit
51f53df4c8
1 changed files with 3 additions and 0 deletions
|
@ -1132,6 +1132,9 @@ zero. This will be automatic for most classes implemented in Python
|
|||
(care may be needed for objects that override attribute access); types
|
||||
implemented in C will have to provide a writable
|
||||
\member{softspace} attribute.
|
||||
\strong{Note:} This attribute is not used to control the
|
||||
\keyword{print} statement, but to allow the implementation of
|
||||
\keyword{print} to keep track of its internal state.
|
||||
\end{memberdesc}
|
||||
|
||||
\subsubsection{Internal Objects \label{typesinternal}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue