Ticket #1115: sage-trac1115a.2.patch

File sage-trac1115a.2.patch, 2.2 KB (added by cremona, 13 years ago)
  • sage/schemes/elliptic_curves/ell_point.py

    # HG changeset patch
    # User John Cremona <john.cremona@gmail.com>
    # Date 1220349314 -3600
    # Node ID 270042fb6d68fbaaa242f4d1fb9456d4bf7a06a6
    # Parent  34eba3d2cf2d23d5ead18c854bcc6148f4690bf9
    #1115: correction of docstring typos
    
    diff -r 34eba3d2cf2d -r 270042fb6d68 sage/schemes/elliptic_curves/ell_point.py
    a b  
    652652
    653653        INPUT:
    654654            self -- a point on a curve over QQ
    655 
    656             precision -- (int or None): the desired precision in bits;
    657                                         default real precision of None.
     655            precision -- int or None (default: None): the precision
     656                         in bits of the result (default real precision
     657                         if None)
    658658
    659659        OUTPUT:
    660660            the rational number 0 or a nonzero real field element
  • sage/schemes/elliptic_curves/ell_rational_field.py

    diff -r 34eba3d2cf2d -r 270042fb6d68 sage/schemes/elliptic_curves/ell_rational_field.py
    a b  
    14701470            proof -- bool or None (default: None, see proof.[tab] or
    14711471                       sage.structure.proof).  Note that results from
    14721472                       databases are considered proof = True
    1473             precision -- int or Noene (default: None): the precision
     1473            precision -- int or None (default: None): the precision
    14741474                         in bits of the result (default real precision
    14751475                         if None)
    14761476
     
    15841584
    15851585        INPUT:
    15861586
    1587         points -- a list of points on this curve (default: empty list)
    1588         precision -- number of bit of precision of result
    1589                  (default: None, for default RealField precision)
     1587            points -- a list of points on this curve (default: empty list)
     1588            precision -- int or None (default: None): the precision
     1589                         in bits of the result (default real precision
     1590                         if None)
    15901591                 
    15911592        TODO: implement variable precision for heights of points
    15921593