Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f367651

Browse files
committed
Add items
1 parent 9ec4c78 commit f367651

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Doc/whatsnew/whatsnew23.tex

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,23 @@ \section{PEP 255: Simple Generators}
181181
\end{seealso}
182182

183183

184+
%======================================================================
185+
\section{PEP 278: Universal Newline Support}
186+
187+
XXX write this section
188+
189+
%Highlights: import and friends will understand any of \r, \n and \r\n
190+
%as end of line. Python file input will do the same if you use mode 'U'.
191+
%Everything can be disabled by configuring with --without-universal-newlines.
192+
193+
194+
\begin{seealso}
195+
196+
\seepep{278}{Universal Newline Support}{Written
197+
and implemented by Jack Jansen.}
198+
199+
\end{seealso}
200+
184201
%======================================================================
185202
\section{PEP 285: The \class{bool} Type}
186203

@@ -208,6 +225,9 @@ \section{New and Improved Modules}
208225
Readline: Add get_history_item, get_current_history_length, and
209226
redisplay functions.
210227

228+
Add optional arg to string methods strip(), lstrip(), rstrip().
229+
The optional arg specifies characters to delete.
230+
211231

212232
%======================================================================
213233
\section{Interpreter Changes and Fixes}

0 commit comments

Comments
 (0)