This goal of wanting a “distinction to be understood when calling a function” does not fit very well with the language design philosophy. Google "duck print" for more information on this. Accepted input should be clearly spelled out by function docking and that’s all you need to do.
python, , dict, , , , . , , , pop . , , , , .
, , isinstance, , . , .
def aFuncion(input_):
if isinstance(input_, str):
print 'you gave a string-like input'
elif isinstance(input_, dict):
print 'you gave a dict-like input'
aFunction('test')
python3 hinting. PEP 484.