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

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

[Octave-bug-tracker] [bug #65220] get_help_text returns docstring from p


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #65220] get_help_text returns docstring from parent methods
Date: Tue, 30 Jan 2024 10:13:32 -0500 (EST)

Follow-up Comment #16, bug#65220 (group octave):

whoops, submitted the preview... the third one should have been meth not
method (and snipping all the html links):


>> help foobar_class.meth
  comment inside method


now, removing the main 'prior' one and doing a clear -c:


>> help foobar_class
  comment inside classdef block

>> help foobar_class.foobar_class
  comment inside classdef block

>> help foobar_class.meth
  comment inside method

>> help foobar_class.A
  comment for property A



also removing 'inside constructor':


>> help foobar_class
  comment inside classdef block

>> help foobar_class.foobar_class
  comment inside classdef block

>> help foobar_class.meth
  comment inside method

>> help foobar_class.A
  comment for property A


replacing it but removing 'inside method'

>> help foobar_class
  comment inside classdef block

>> help foobar_class.foobar_class
  comment inside constructor

>> help foobar_class.meth
foobar_class/meth is a function.
    meth(obj)

>> help foobar_class.A
  comment for property A


replacing that and the 'prior to classdef keyword' (back to original state)
but just removing 'inside classdef block'


>> help foobar_class
  comment prior to classdef keyword

>> help foobar_class.foobar_class
  comment inside constructor

>> help foobar_class.meth
  comment inside method

>> help foobar_class.A
  comment for property A


also removing 'inside constructor':


>> help foobar_class
  comment prior to classdef keyword

>> help foobar_class.foobar_class
  comment prior to classdef keyword

>> help foobar_class.meth
  comment inside method

>> help foobar_class.A
  comment for property A


7 comments here, so i didn't run through all 2^7 options. let me know if there
are others that look important


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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