Inplace shuffle function returns none

Chris Angelico rosuav at gmail.com
Wed Oct 19 04:25:09 EDT 2016


On Wed, Oct 19, 2016 at 6:01 PM, Sayth Renshaw <flebber.crue at gmail.com> wrote:
> Ok i think i do understand it. I searched the python document for in-place functions but couldn't find a specific reference.
>
> Is there a particular part in docs or blog that covers it? Or is it fundamental to all so not explicitly treated in one particular page?

It's not a rule, it's a design principle. So the best way to find out
about it is either to look at hundreds or thousands of Python standard
library functions and recognize a pattern... or ask on a mailing list
and be told :)

ChrisA



More information about the Python-list mailing list