summaryrefslogtreecommitdiffstats
path: root/Modules/readline.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-05-20 15:50:56 (GMT)
committerGuido van Rossum <guido@python.org>1998-05-20 15:50:56 (GMT)
commita88c5f30c75021433d2a55704a9d6ca9676d09c6 (patch)
tree292a8e52df7ae4d81a423b85d5be36d2dfe86c25 /Modules/readline.c
parent0bd5433cf8507e1f5cd87e552f004635d021b063 (diff)
downloadcpython-a88c5f30c75021433d2a55704a9d6ca9676d09c6.zip
cpython-a88c5f30c75021433d2a55704a9d6ca9676d09c6.tar.gz
cpython-a88c5f30c75021433d2a55704a9d6ca9676d09c6.tar.bz2
Correct bug doc string (discovered by Berthold Hoellmann):
get_line_buffer() does not take an optional argument.
Diffstat (limited to 'Modules/readline.c')
-rw-r--r--Modules/readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/readline.c b/Modules/readline.c
index 594732b..79b8870 100644
--- a/Modules/readline.c
+++ b/Modules/readline.c
@@ -132,7 +132,7 @@ get_line_buffer(self, args)
}
static char doc_get_line_buffer[] = "\
-get_line_buffer([function]) -> string\n\
+get_line_buffer() -> string\n\
return the current contents of the line buffer.\
";