diff options
author | Soumith Chintala <soumith@fb.com> | 2014-12-15 07:20:19 +0300 |
---|---|---|
committer | Soumith Chintala <soumith@fb.com> | 2014-12-15 07:20:19 +0300 |
commit | 679c6dab55c22e68549b691a2f687afed56bea82 (patch) | |
tree | 18b12b009b04fb17555387d12c5e2a4f6cb779dd | |
parent | 160a23a78ece8070158a3101642f3601e5e33e67 (diff) |
removing the behavior 'Calling on undocumented functions executes them'
-rw-r--r-- | inline.lua | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -432,11 +432,7 @@ function dok.help(symbol, asstring) print(inline) print(style.banner) else - if type(symbol) == 'function' or type(symbol) == 'table' then - pcall(symbol) - else - print('undocumented symbol') - end + print('undocumented symbol') end end end |