Translations:Extension:Scribunto/Lua reference manual/1531/en

The standard behavior may be overridden by providing a __pairs metamethod. If that metamethod exists, the call to pairs will return the three values returned by  instead.