I am deciphering someone else's code and I see the following:
def get_set_string(set_):
if PY3:
return str(set_)
else:
return str(set_)
Does the underscore AFTER the variable mean anything or is this just a part of the variable's name and means nothing?
set, the built-in set type, to avoid shadowing the name - "single_trailing_underscore_: used by convention to avoid conflicts with Python keyword".