Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
8083c176
Commit
8083c176
authored
Feb 08, 1998
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a note about rounding up of readlines()' sizehint to 8K.
parent
6e91c6a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
Doc/lib/libtypes.tex
Doc/lib/libtypes.tex
+2
-1
Doc/libtypes.tex
Doc/libtypes.tex
+2
-1
No files found.
Doc/lib/libtypes.tex
View file @
8083c176
...
...
@@ -737,7 +737,8 @@ descriptors, e.g. module \code{fcntl} or \code{os.read()} and friends.
Read until
\EOF
{}
using
\code
{
readline()
}
and return a list containing
the lines thus read. If the optional
\var
{
sizehint
}
argument is
present, instead of reading up to
\EOF
{}
, whole lines totalling
approximately
\var
{
sizehint
}
bytes are read.
approximately
\var
{
sizehint
}
bytes (possibly after rounding up to an
internal buffer size) are read.
\end{funcdesc}
\begin{funcdesc}
{
seek
}{
offset
\,
whence
}
...
...
Doc/libtypes.tex
View file @
8083c176
...
...
@@ -737,7 +737,8 @@ descriptors, e.g. module \code{fcntl} or \code{os.read()} and friends.
Read until
\EOF
{}
using
\code
{
readline()
}
and return a list containing
the lines thus read. If the optional
\var
{
sizehint
}
argument is
present, instead of reading up to
\EOF
{}
, whole lines totalling
approximately
\var
{
sizehint
}
bytes are read.
approximately
\var
{
sizehint
}
bytes (possibly after rounding up to an
internal buffer size) are read.
\end{funcdesc}
\begin{funcdesc}
{
seek
}{
offset
\,
whence
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment