Ticket #2884: 2884-docfix.patch

File 2884-docfix.patch, 1.1 KB (added by boothby, 13 years ago)
  • sage/server/notebook/interact.py

    # HG changeset patch
    # User boothby@eight.math.washington.edu
    # Date 1210829543 25200
    # Node ID caf9f4398e5b878f7303accbd5b32140c3b35f1b
    # Parent  f11ce590c688c0da479330ab73fcb2ee8b6601b6
    Clarified documentation for #2884
    
    diff -r f11ce590c688 -r caf9f4398e5b sage/server/notebook/interact.py
    a b class InteractCanvas: 
    11201120       
    11211121def interact(f):
    11221122    r"""
    1123     Use interact as a decorate to create interactive Sage notebook
     1123    Use interact as a decorator to create interactive Sage notebook
    11241124    cells with sliders, text boxes, radio buttons, check boxes, and
    11251125    color selectors.  Simply put @interact on the line before a
    1126     function definition, and choose appropriate defaults for the
    1127     variable names to determine the types of controls (see tables
    1128     below).
     1126    function definition in a cell by itself, and choose appropriate
     1127    defaults for the variable names to determine the types of
     1128    controls (see tables below).
    11291129
    11301130    INPUT:
    11311131        f -- a Python function