octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #48041] classdef: `help myclass` messes up `he


From: Colin Macdonald
Subject: [Octave-bug-tracker] [bug #48041] classdef: `help myclass` messes up `help @myclass/method`
Date: Fri, 27 May 2016 20:48:33 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

URL:
  <http://savannah.gnu.org/bugs/?48041>

                 Summary: classdef: `help myclass` messes up `help
@myclass/method`
                 Project: GNU Octave
            Submitted by: cbm
            Submitted on: Fri 27 May 2016 08:48:30 PM GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

`help` interacts badly with classdef-style classes.  After I do `help
classname`, I cannot access the help of any methods (except ones I accessed
before `help classname`.


>> help pyobject
error: help: 'pyobject' is not documented
>> help @pyobject/display
error: help: '@pyobject/display' is not documented
>> help @pyobject/dummy
error: help: '@pyobject/dummy' is not documented

("@pyobject/dummy" is documented).

But if I restart Octave and try the commands in a different order:


>> help @pyobject/display
'@pyobject/display' is a function from the file
/home/cbm/src/pytave.hg.mine/@pyobject/display.m

 -- Method on @pyobject: display (X)
     Custom display for pyobjects.

  ---- 8< -----

>> help pyobject
error: help: 'pyobject' is not documented
>> help @pyobject/dummy
error: help: '@pyobject/dummy' is not documented






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48041>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]