Changes between Version 1 and Version 2 of documentation/LuaManual/PythonDifferences

Show
Ignore:
Author:
gambini (IP: 96.38.104.126)
Timestamp:
05/29/12 17:45:35 (5 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • documentation/LuaManual/PythonDifferences

    v1 v2  
    22 
    33== Proxy Tables == 
    4 See [wiki:documentation/LuaManual/ProxyTables this wiki page] for more information. The general idea is that because Lua doesn't expose a way to iterate over a table, you must call ''proxy:GetTable()'' to get a true table that is able to be iterated over. Otherwise, access to individual items is exactly the same as Python. Not all functions that would return a table return a ''proxy table'', and every single one that does is outlined on the [wiki:documentation/LuaManual/ProxyTables proxy tables page]
     4See [wiki:documentation/LuaManual/ProxyTables this wiki page] for more information. Not exactly a difference with Python, but more of a "gotcha" if you iterate over tables without using ''pairs'' or ''ipairs''. Which should be approximately nobody
    55 
    66== Constructors ==