Feb-10-2018, 05:42 AM
okay the whole idea of "overloading" the functions (is that a term in python?) is to be able to call the function with two different types, one is string, one is object.
say the object is a heavy (memory-wise) one. if i wanted to overload on these objects, what would i do? imagine i have one type of object ready, but the interface requires the other one. so i would have to construct the other heavy object to pass to the method
say the object is a heavy (memory-wise) one. if i wanted to overload on these objects, what would i do? imagine i have one type of object ready, but the interface requires the other one. so i would have to construct the other heavy object to pass to the method