From "The Hitchhiker's Guide to Python"
https://docs.python-guide.org/writing...
Default argument value is mutable.
Default argument values are `evaluated only once at function definition time`, which means that modifying the default value of the argument will affect all subsequent calls of the function.
IDE's like PyCharm will show warnings when attempting a mutable default argument.
Nesta página do site você pode assistir ao vídeo on-line Avoiding Mutable Default Arguments in Python duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário kishstats 13 Novembro 2018, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,159 vezes e gostou 21 espectadores. Boa visualização!