# HG changeset patch # User jbe # Date 1408491853 -7200 # Node ID 44eddb9cea1ef1b988a88f50853c47790162015b # Parent 22ec338adc20d5c5dedcefa5d98ee0b1edd715ba Fixed mistake in README: seqlua_iterclosure(L, idx) respects __call, not __ipairs diff -r 22ec338adc20 -r 44eddb9cea1e README --- a/README Wed Aug 20 01:22:45 2014 +0200 +++ b/README Wed Aug 20 01:44:13 2014 +0200 @@ -141,7 +141,7 @@ which converts a table at a given stack index into a function closure (stored on the same stack index) that iterates over the elements of the table. If the value at the given stack index is already a function, it leaves the value -unchanged. If the value is convertible to a function using ``__ipairs,`` then -the function is replaced by its ``__ipairs`` metamethod. +unchanged. If the value is convertible to a function using ``__call,`` then the +function is replaced by its ``__call`` metamethod.