Python 3 dir() method called on null object -
This is not a question to help me locate this code, but rather asking a question that the behavior of the object What is this . In python 3, there is a function
dir ([object])
I am reading Python documents, and it says that the argument Name, more or less, and if there is no logic, then it returns the list of names in the current local area. So we say, I only have one code:
dir ([nullObject])
I did not start it in my code at all So, it should just be blank, does the compiler see it as an error, or will it treat the function as if it is called without argument?
Code> results.
Comments
Post a Comment