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

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

[Octave-bug-tracker] [bug #65258] Feature Request: provide function prot


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #65258] Feature Request: provide function prototype as docstring when no documentation exists
Date: Wed, 20 Mar 2024 16:52:05 -0400 (EDT)

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

new behaviors:

cli defined function:

octave:10> function y = no_doc_fcn (arg1, arg2, arg3)
end
octave:11> help no_doc_fcn
'no_doc_fcn' is a command-line function

undocumented function y = no_doc_fcn (arg1, arg2, arg3)

...


file defined function:

octave:15> help no_doc_fcn
'no_doc_fcn' is a function from the file
/home/nrjank/source/builds/no_doc_fcn.m

undocumented function y = no_doc_fcn (arg1, arg2, arg3)

...


'empty' classdef file from comment #6:

octave:16> help no_doc_class
'no_doc_class' is a class constructor from the file
/home/nrjank/source/builds/no_doc_class.m

default constructor: obj = no_doc_class()

...


classdef file with constructor from comment #7


octave:17> help foo_class
'foo_class' is a class constructor from the file
/home/nrjank/source/builds/foo_class.m

undocumented constructor obj = foo_class (a, b, c = 2, ~)

...




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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