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

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

[Octave-bug-tracker] [bug #50301] small error in 'sleep' and 'usleep' do


From: anonymous
Subject: [Octave-bug-tracker] [bug #50301] small error in 'sleep' and 'usleep' docstring
Date: Tue, 14 Feb 2017 07:21:04 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

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

                 Summary: small error in 'sleep' and 'usleep' docstring
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 14 Feb 2017 12:21:03 PM UTC
                Category: Documentation
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Documentation
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.0
        Operating System: Any

    _______________________________________________________

Details:

There are trailing '\n\' in 'sleep' and 'usleep' docstring,
although these functions are deprecated.


diff -u /usr/share/octave/4.2.0/m/deprecated/sleep.m ./sleep.m
--- /usr/share/octave/4.2.0/m/deprecated/sleep.m
+++ ./sleep.m
@@ -17,7 +17,7 @@
 ## <http://www.gnu.org/licenses/>.
 
 ## -*- texinfo -*-
-## @deftypefn {} {} sleep (@var{seconds})\n\
+## @deftypefn {} {} sleep (@var{seconds})
 ##
 ## @code{sleep} is deprecated and will be removed in Octave version 4.6.
 ## Use @code{pause} instead.
diff -u /usr/share/octave/4.2.0/m/deprecated/usleep.m ./usleep.m
--- /usr/share/octave/4.2.0/m/deprecated/usleep.m
+++ ./usleep.m
@@ -17,7 +17,7 @@
 ## <http://www.gnu.org/licenses/>.
 
 ## -*- texinfo -*-
-## @deftypefn {} {} usleep (@var{microseconds})\n\
+## @deftypefn {} {} usleep (@var{microseconds})
 ##
 ## @code{usleep} is deprecated and will be removed in Octave version 4.6.
 ## Use @code{pause} instead.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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