10000 Remove buffer() from the docs. · python/cpython@9f27df5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9f27df5

Browse files
committed
Remove buffer() from the docs.
1 parent 14ef70b commit 9f27df5

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

Doc/library/functions.rst

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,34 +1079,6 @@ available. They are listed here in alphabetical order.
10791079
returns an empty iterator.
10801080

10811081

1082-
.. % ---------------------------------------------------------------------------
1083-
1084-
1085-
.. _non-essential-built-in-funcs:
1086-
1087-
Non-essential Built-in Functions
1088-
================================
1089-
1090-
There are several built-in functions that are no longer essential to learn, know
1091-
or use in modern Python programming. They have been kept here to maintain
1092-
backwards compatibility with programs written for older versions of Python.
1093-
1094-
Python programmers, trainers, students and bookwriters should feel free to
1095-
bypass these functions without concerns about missing something important.
1096-
1097-
1098-
.. XXX does this go away?
1099-
.. function:: buffer(object[, offset[, size]])
1100-
1101-
The *object* argument must be an object that supports the buffer call interface
1102-
(such as strings, arrays, and buffers). A new buffer object will be created
1103-
which references the *object* argument. The buffer object will be a slice from
1104-
the beginning of *object* (or from the specified *offset*). The slice will
1105-
extend to the end of *object* (or will have a length given by the *size*
1106-
argument).
1107-
1108-
1109-
11101082
.. rubric:: Footnotes
11111083

11121084
.. [#] Specifying a buffer size currently has no effect on systems that don't have

0 commit comments

Comments
 (0)
0