Ticket #7494: trac_7494-ref.patch

File trac_7494-ref.patch, 934 bytes (added by jhpalmieri, 8 years ago)

Sage library: fix docbuilding problem

  • sage/finance/stock.py

    # HG changeset patch
    # User J. H. Palmieri <palmieri@math.washington.edu>
    # Date 1317763472 25200
    # Node ID 3dedec201ba6933cc629f77a02e52db268a823db
    # Parent  f6e16754d03b1ecf7e49abacb5cd523ac65afe04
    #7494: referee patch: fix docbuild errors
    
    diff --git a/sage/finance/stock.py b/sage/finance/stock.py
    a b class Stock: 
    401401        return TimeSeries([x.close for x in self.google(*args, **kwds)])
    402402       
    403403    def load_from_file(self, file):
    404         """
     404        r"""
    405405        Load historical data from a local csv formatted data file. Note
    406406        that no symbol data is included in Google Finance's csv data.
    407407        The csv file must be formatted in the following way, just as
    class Stock: 
    466466
    467467       
    468468    def _load_from_csv(self, R):
    469         """
     469        r"""
    470470        EXAMPLES:
    471471
    472472        This indirectly tests ``_load_from_csv()``::