I know in python, you can use, say dir(list)to find out all the methods of listobject, and then use help(list.pop) to look more of the details.
but when I came across datetimelibrary, so there is a timedeltamethod which has the following attributes
datetime.timedelta(days = 1)
datetime.timedelta(1)
datetime.timedelta(hours = 1)
datetime.timedelta(0, 3600)
datetime.timedelta(seconds = 1)
datetime.timedelta(0, 1)
but I looked all over the help(datetime.timedelta) documents, it only lists days, seconds in the library, there's nowhere to find hours attribute.
just in general, how do you find all the attributes of a method?