Index: io.c
===================================================================
--- io.c (revision 20448)
+++ io.c (working copy)
@@ -2688,14 +2688,14 @@
/*
* call-seq:
- * ios.getc => fixnum or nil
+ * ios.getc => string or nil
*
* Reads a one-character string from ios. Returns
* nil
if called at end of file.
*
* f = File.new("testfile")
- * f.getc #=> "8"
- * f.getc #=> "1"
+ * f.getc #=> "h"
+ * f.getc #=> "e"
*/
static VALUE
@@ -2720,8 +2720,8 @@
* EOFError
on end of file.
*
* f = File.new("testfile")
- * f.readchar #=> "8"
- * f.readchar #=> "1"
+ * f.readchar #=> "h"
+ * f.readchar #=> "e"
*/
static VALUE
Index: ext/stringio/stringio.c
===================================================================
--- ext/stringio/stringio.c (revision 20448)
+++ ext/stringio/stringio.c (working copy)
@@ -749,7 +749,7 @@
/*
* call-seq:
- * strio.readchar -> fixnum
+ * strio.readchar -> string
*
* See IO#readchar.
*/