Since `wordnet.NOUN` is a string and strings are immutable, you can just have that be the default value for the `pos` argument instead of defaulting to `None`.