Error message for calling Point() with one argument

19 views
Skip to first unread message

Gaurav Dhingra

unread,
May 27, 2015, 11:01:00 PM5/27/15
to sy...@googlegroups.com
Hi

>>> from sympy import *
>>> Point( 1 )
ValueError: Only two dimensional points currently supported.

I know that for more that two arguments it is correct output( since more than two arguments are not currently supported ), but for one argument would not better message be something different ( Since points with only one coordinate do not mean anything ).
I hope the error message to be " ValueError: Atleast two arguments expected given only one.  "
I know that it would not be difficult to make such a change in the code base. But i am asking for advise.

Gaurav Dhingra 
Reply all
Reply to author
Forward
0 new messages