From 9f27df56f84fb287a1971093bcf416fb2eca94c6 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 8 Oct 2007 07:00:29 +0000 Subject: [PATCH] Remove buffer() from the docs. --- Doc/library/functions.rst | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index cd3f18776a3..dab83e1b4c4 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -1079,34 +1079,6 @@ available. They are listed here in alphabetical order. returns an empty iterator. -.. % --------------------------------------------------------------------------- - - -.. _non-essential-built-in-funcs: - -Non-essential Built-in Functions -================================ - -There are several built-in functions that are no longer essential to learn, know -or use in modern Python programming. They have been kept here to maintain -backwards compatibility with programs written for older versions of Python. - -Python programmers, trainers, students and bookwriters should feel free to -bypass these functions without concerns about missing something important. - - -.. XXX does this go away? -.. function:: buffer(object[, offset[, size]]) - - The *object* argument must be an object that supports the buffer call interface - (such as strings, arrays, and buffers). A new buffer object will be created - which references the *object* argument. The buffer object will be a slice from - the beginning of *object* (or from the specified *offset*). The slice will - extend to the end of *object* (or will have a length given by the *size* - argument). - - - .. rubric:: Footnotes .. [#] Specifying a buffer size currently has no effect on systems that don't have