diff --git a/ext/pty/pty.c b/ext/pty/pty.c index a51393026c038afcbc0f03bd7f763d7911746328..e53871ede54e600bebe13b29a2f9c5c232aa377f 100644 --- a/ext/pty/pty.c +++ b/ext/pty/pty.c @@ -464,11 +464,11 @@ pty_close_pty(VALUE assoc) /* * call-seq: * PTY.open => [master_io, slave_file] - * PTY.open {|master_io, slave_file| ... } => block value + * PTY.open {|(master_io, slave_file)| ... } => block value * * Allocates a pty (pseudo-terminal). * - * In the block form, yields two arguments master_io, slave_file + * In the block form, yields an array of two elements (master_io, slave_file) * and the value of the block is returned from +open+. * * The IO and File are both closed after the block completes if they haven't