(May-17-2020, 01:27 AM)myv5285 Wrote: But you said help(request.request)
How do I know it should be requests.requests
Because it's in the docstring for
requests.get
:Quote: :param \*\*kwargs: Optional arguments that request
takes.
Then, I looked at the source code, to confirm my understanding.
As I said - it's not always as simple as just using help() - it may be that function/method takes arbitarry arguments - e.g.
*args, **kwargs
, the docstring may be poorly written, etc. You may need to look at the source code or other resources like documentation (assuming it's not genereated from doc-strings), tutorials, etc.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs