#5726: RDF quotes -- docstring bug (possibly cython issue)
---------------------------+------------------------------------------------
 Reporter:  was            |       Owner:  tba       
     Type:  defect         |      Status:  new       
 Priority:  major          |   Milestone:  sage-3.4.2
Component:  documentation  |    Keywords:            
---------------------------+------------------------------------------------

Old description:

> {{{
> sage: RDF.random_element?
> ...
> Definition: RDF.random_element(min='-1', max='1')
> }}}
> Notice the stupid quotes around -1 and 1, which are very confusing!

New description:

 {{{
 sage: RDF.random_element?
 ...
 Definition: RDF.random_element(min='-1', max='1')
 }}}
 Notice the stupid quotes around -1 and 1, which are very confusing!

--

Comment(by was):

 In the notebook definition is wrong in at least two ways:
 {{{
 sage: factor?
 Definition:  factor(n, proof, int_, algorithm, verbose, **kwds)
 }}}
 but it should be
 {{{
 Definition:     factor(n, proof=None, int_=False, algorithm='pari',
 verbose=0, **kwds)
 }}}
 which it *is* in the command line.

 On the command line, cython code *never* gets a function "Definition".

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5726#comment:1>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to