-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 19/09/2013 11:00, Marco Mariani wrote: > >> def clamp(x, min, max): if x < min: return min elif x > max: >> return max else: return x > > Si potrebbe disquisire un po' sull'opportunit¢ di togliere > else/elif :) >
Perche'? P.S.: ma perch│ avete ISO-8859-1 come character encoding predefinito? Non │ ora di passare tutti a UTF-8, cos↓ Thunderbird non mi incasina l'encoding? :) Ciao Manlio -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlI6114ACgkQscQJ24LbaURjNQCdHoX1i/hGoGOVzecmpQIqhdNg b+wAn3mfjeHVidGkGltOC0nGLx/EFXF3 =1CrC -----END PGP SIGNATURE----- _______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python