PyCharm community edition 3.4.1 for Python 2.7.8. Simple code:
def test(x): print x d={'test': test} d['test'](5)
gives
d['test'](5)
'Null cannot be called'
In the shell, this code runs without errors.
The built-in check seems too sensitive (or buggy if you do).
If you try (d['test'])(5) , then it will not complain.
(d['test'])(5)
Source: https://habr.com/ru/post/1204770/More articles:Require stream in browser - javascriptThe default syntax for a user-defined table type is sqlConfiguring and managing ios8 VPNs in Swift - iosWhy is the leading space added to the scanf format string? - cDisplay variable and string on one line (TI-Basic) - ti-basicCustom keyboard height animation in iOS 8 - iosPyCharm 3.1.1 and Numpy community, "matrix" cannot be called ", but code works - pythonRails 4.2 strong parameters and parsing changed attributes in json put / update - jsonReading Nashorn JO4 and NativeArray - javaPDFKit - Custom fonts - fs.readFileSync is not a function - javascriptAll Articles