Yes it would. Most things like that are easily testable by starting up the Python interpreter and trying it.