@maco yeah, the pattern in Python is that if the method mutates the object it usually returns None. Like my_list.sort(), in place, and then sorted(my_list), gets you a new list.
my_list.sort()
sorted(my_list)
O Mastodon é a melhor maneira de acompanhar o que está a acontecer.
Siga alguém no fediverso e veja tudo em ordem cronológica. Sem algoritmos, anúncios ou clickbait à vista.