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

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

[Octave-bug-tracker] [bug #65280] help for classdef method not shown unt


From: Colin Macdonald
Subject: [Octave-bug-tracker] [bug #65280] help for classdef method not shown until object instantiated
Date: Sun, 11 Feb 2024 02:14:25 -0500 (EST)

Follow-up Comment #9, bug#65280 (group octave):

Re: test in comment #3:



>> help pyobject.char
error: help: 'pyobject.char' is not documented

>> help @pyobject/char
'@pyobject/char' is a class method

 -- Method on @pyobject: char (X)
     Conversion method to string.

     Example:
          s = pyobject ("hello world");
          char (s)
                ⇒ hello world

     See also: pyobject.disp.


Confusingly (to me) accessing `help @pyobject/char` means that instantiating
the class no longer fixes `help pyoject.char`.  Compare following to Comment
#2:


>> help @pyobject/char
'@pyobject/char' is a function from the file
/home/cbm/src/octave-pythonic.git/inst/@pyobject/char.m

 -- Method on @pyobject: char (X)
     Conversion method to string.

     Example:
          s = pyobject ("hello world");
          char (s)
                ⇒ hello world

     See also: pyobject.disp.

>> x  = pyobject (6)
x = [Python object of type float]
  6.0

>> help pyobject.char
error: help: 'pyobject.char' is not documented
-veratim-


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65280>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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