Jan-17-2019, 09:10 PM
i have a function that needs to test if a value given to it in an argument is a dictionary or not. doing
isinstance(thevalue,dict)
is not good enough when the value comes from os.environ. but i would want the test to be positive for os.environ and anything like it as well as any genuine dictionary. what kind of test would work?
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.