Bug in the typo detection feature?

def fast_prime_sqrt(range_end, seed_data=[2,3,5,7]):

This function declaration generates two notices. One typo warning on "sqrt" being misspelled. I think abbreviations should be included in your spell checker. The other is detecting that my default argument is mutable. I am not sure what the "correct" behavior is for this function. Can I actually modify the values in the default value passed to the function? Is this a language issue/problem?

Thanks,
Jacob

Please sign in to leave a comment.