How to detect that a function argument is the default one

Ian Kelly ian.g.kelly at gmail.com
Thu Dec 11 13:03:11 EST 2014


On Thu, Dec 11, 2014 at 3:02 AM, Jean-Michel Pichavant <
jeanmichel at sequans.com> wrote:
> I would advise to remove the the mass parameter of your Sphere
initialization. It could be inconsistent with the radius.
> To compute the mass you would need the radius and the  volumetric mass
density.

You assume a three-dimensional universe. Clearly this is a two-dimensional
"ball" with a density equal to pi/2 mass units per area unit.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20141211/ec07bb1b/attachment.html>


More information about the Python-list mailing list