Ticket #9725: trac_9725B.patch

File trac_9725B.patch, 2.4 KB (added by phil, 9 years ago)

fix the doctest problems

  • doc/de/tutorial/interfaces.rst

    # HG changeset patch
    # User Philipp Schneider <Philipp.Schneider@mathe.stud.uni-erlangen.de>
    # Date 1306443960 -7200
    # Node ID d7dd939671788dfe1f9552cb7cca8a91871f3c1e
    # Parent  8f417196fd7dbdc840214b20689db6b2c18cbfab
    trac 9725: fix doctest failures
    
    diff -r 8f417196fd7d -r d7dd93967178 doc/de/tutorial/interfaces.rst
    a b  
    313313::
    314314
    315315    sage: maxima.plot2d('[cos(7*x),cos(23*x)^4,sin(13*x)^3]','[x,0,1]',\
    316     ...   '[plot_format,openmath]')
     316    ...   '[plot_format,openmath]') # not tested
    317317
    318318Ein "live" 3D-Plot, den man mit der Maus bewegen kann:
    319319
    320320::
    321321
    322322    sage: maxima.plot3d ("2^(-u^2 + v^2)", "[u, -3, 3]", "[v, -2, 2]",\
    323     ...   '[plot_format, openmath]') # nicht getestet
     323    ...   '[plot_format, openmath]') # not tested
    324324    sage: maxima.plot3d("atan(-x^2 + y^3/4)", "[x, -4, 4]", "[y, -4, 4]",\
    325     ...   "[grid, 50, 50]",'[plot_format, openmath]') # nicht getestet
     325    ...   "[grid, 50, 50]",'[plot_format, openmath]') # not tested
    326326
    327327Der nächste Plot ist das berühmte Möbiusband:
    328328
     
    330330
    331331    sage: maxima.plot3d("[cos(x)*(3 + y*cos(x/2)), sin(x)*(3 + y*cos(x/2)),\
    332332    ...   y*sin(x/2)]", "[x, -4, 4]", "[y, -4, 4]",\
    333     ...   '[plot_format, openmath]') # nicht getestet
     333    ...   '[plot_format, openmath]') # not tested
    334334
    335335Und der letzte ist die berühmte Kleinsche Flasche:
    336336
     
    345345    5*(cos(x/2)*sin(2*y)-sin(x/2)*cos(y))
    346346    sage: maxima.plot3d ("[expr_1, expr_2, expr_3]", "[x, -%pi, %pi]",\
    347347    ...   "[y, -%pi, %pi]", "['grid, 40, 40]",\
    348     ...   '[plot_format, openmath]') # nicht getestet
     348    ...   '[plot_format, openmath]') # not tested
    349349   
  • doc/de/tutorial/programming.rst

    diff -r 8f417196fd7d -r d7dd93967178 doc/de/tutorial/programming.rst
    a b  
    423423    sage: v
    424424    [1, 2, 3, 4/5]
    425425    sage: type(v)
    426     <class 'sage.structure.sequence.Sequence'>
     426    <class 'sage.structure.sequence.Sequence_generic'>
    427427    sage: type(v[1])
    428428    <type 'sage.rings.rational.Rational'>
    429429    sage: v.universe()
     
    461461    (0, 0, 1)
    462462    ]
    463463    sage: type(B)
    464     <class 'sage.structure.sequence.Sequence'>
     464    <class 'sage.structure.sequence.Sequence_generic'>
    465465    sage: B[0] = B[1]
    466466    Traceback (most recent call last):
    467467    ...