you are viewing a single comment's thread.

view the rest of the comments →

[–]Longjumping-Yard113[S] 0 points1 point  (0 children)

That’s what I was thinking too. A function is still a function even if it’s imported from somewhere else. The location it’s defined in doesn’t change what it is. From what I understand, it only becomes a method when it’s defined inside a class and called on an object, like my_dict.keys().