diff options
Diffstat (limited to 'manual')
| -rw-r--r-- | manual/manual.of | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/manual.of b/manual/manual.of index eaf0ce78..9b6976ca 100644 --- a/manual/manual.of +++ b/manual/manual.of | |||
| @@ -6799,11 +6799,11 @@ In particular, you may set existing fields to nil. | |||
| 6799 | @LibEntry{pairs (t)| | 6799 | @LibEntry{pairs (t)| |
| 6800 | 6800 | ||
| 6801 | If @id{t} has a metamethod @idx{__pairs}, | 6801 | If @id{t} has a metamethod @idx{__pairs}, |
| 6802 | calls it with @id{t} as argument and returns the first three | 6802 | calls it with @id{t} as argument and returns the first four |
| 6803 | results from the call. | 6803 | results from the call. |
| 6804 | 6804 | ||
| 6805 | Otherwise, | 6805 | Otherwise, |
| 6806 | returns three values: the @Lid{next} function, the table @id{t}, and @nil, | 6806 | returns the @Lid{next} function, the table @id{t}, plus two @nil values, |
| 6807 | so that the construction | 6807 | so that the construction |
| 6808 | @verbatim{ | 6808 | @verbatim{ |
| 6809 | for k,v in pairs(t) do @rep{body} end | 6809 | for k,v in pairs(t) do @rep{body} end |
