python - Alternative name for a keyword only parameter "in_" -


i have find function receives optional keyword in_ parameter narrow search space. unfortunately, had add trailing underscore distinguish python's in keyword. don't want expose such oddly named parameter, there better names use?

english not first language, hoping there better option. thanks

use within.

find("needle", within="haystack")


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -