From e4fe267438fae6b8607f1a344fcb9763f8c999f5 Mon Sep 17 00:00:00 2001 From: Carl Gay Date: Wed, 12 Jun 2024 16:01:26 -0400 Subject: [PATCH 1/6] common-dylan-test-suite: remove unnecessary test-output calls --- sources/common-dylan/tests/condition-test-utilities.dylan | 2 -- 1 file changed, 2 deletions(-) diff --git a/sources/common-dylan/tests/condition-test-utilities.dylan b/sources/common-dylan/tests/condition-test-utilities.dylan index c47811638..5d155f52b 100644 --- a/sources/common-dylan/tests/condition-test-utilities.dylan +++ b/sources/common-dylan/tests/condition-test-utilities.dylan @@ -31,7 +31,6 @@ end method make-condition; /// Condition test functions define method test-condition (condition :: ) => () - test-output("test-condition()\n"); do(method (function) function(condition) end, vector(// Functions on do-test-signal, @@ -48,7 +47,6 @@ define method test-condition (condition :: ) => () end method test-condition; define method test-condition (condition :: ) => () - test-output("test-condition()\n"); next-method(); do(method (function) function(condition) end, vector(// Functions on From cba3026b560096e952c30c4a1f9c80aa2e68a7d9 Mon Sep 17 00:00:00 2001 From: Carl Gay Date: Wed, 12 Jun 2024 16:51:50 -0400 Subject: [PATCH 2/6] common-dylan-test-suite: fix tests for * `make-condition()` shouldn't pass `format-string:` and `format-arguments:` when creating the condition. Added a new method on `` to do that. * Consolidate testing of `condition-format-string` and `condition-format-arguments` into `test-condition()` instead of duplicating it for each subclass. These tests don't work for `` because its format string and args are computed from its type and value slots, so add `test-condition()` to prevent calling the next method. * Remove `do-test-type-error-*` functions. I don't think there's anything much to test for ``, or most condition classes for that matter, since they tend to be plain-old-data classes. --- .../tests/condition-test-utilities.dylan | 53 ++++++------------- 1 file changed, 16 insertions(+), 37 deletions(-) diff --git a/sources/common-dylan/tests/condition-test-utilities.dylan b/sources/common-dylan/tests/condition-test-utilities.dylan index 5d155f52b..0920650f8 100644 --- a/sources/common-dylan/tests/condition-test-utilities.dylan +++ b/sources/common-dylan/tests/condition-test-utilities.dylan @@ -22,10 +22,16 @@ define constant $condition-arguments = #(1, 2); define method make-condition (class :: subclass()) => (condition :: ) + make(class) +end method; + +define method make-condition + (class :: subclass()) + => (condition :: ) make(class, format-string: $condition-string, format-arguments: $condition-arguments) -end method make-condition; +end method; /// Condition test functions @@ -46,22 +52,21 @@ define method test-condition (condition :: ) => () )) end method test-condition; -define method test-condition (condition :: ) => () +define method test-condition (condition :: ) => () next-method(); do(method (function) function(condition) end, - vector(// Functions on + vector(// Functions on do-test-condition-format-string, do-test-condition-format-arguments )) end method test-condition; define method test-condition (condition :: ) => () - next-method(); - do(method (function) function(condition) end, - vector(// Functions on - do-test-type-error-value, - do-test-type-error-expected-type - )) + // The purpose of this method is to prevent next-method() from being called. + // do-test-condition-format-{string,arguments} don't work for because + // its format string and args are computed from the value and type init args. + + //next-method(); end method test-condition; define method make-condition (class == ) => (c :: ) @@ -70,15 +75,6 @@ define method make-condition (class == ) => (c :: ) type: ) end method; -define method test-condition (condition :: ) => () - next-method(); - do(method (function) function(condition) end, - vector(// Functions on - do-test-condition-format-string, - do-test-condition-format-arguments - )) -end method test-condition; - define method test-condition (condition :: ) => () next-method(); do(method (function) function(condition) end, @@ -87,15 +83,6 @@ define method test-condition (condition :: ) => () )) end method test-condition; -define method test-condition (condition :: ) => () - next-method(); - do(method (function) function(condition) end, - vector(// Functions on - do-test-condition-format-string, - do-test-condition-format-arguments - )) -end method test-condition; - define method do-test-signal (condition :: ) => () //---*** Fill this in... end method; @@ -129,7 +116,7 @@ define method do-test-return-description (condition :: ) => () end method; define method do-test-condition-format-string - (condition :: ) => () + (condition :: ) => () let name = format-to-string("%= condition-format-string matches specified format string", condition); check-equal(name, @@ -138,7 +125,7 @@ define method do-test-condition-format-string end method; define method do-test-condition-format-arguments - (condition :: ) => () + (condition :: ) => () let name = format-to-string("%= condition-format-arguments match specified format arguments", condition); check-equal(name, @@ -146,14 +133,6 @@ define method do-test-condition-format-arguments $condition-arguments) end method; -define method do-test-type-error-value (condition :: ) => () - //---*** Fill this in... -end method; - -define method do-test-type-error-expected-type (condition :: ) => () - //---*** Fill this in... -end method; - define method do-test-restart-query (condition :: ) => () //---*** Fill this in... end method; From 504a2299c82f075ce8db63b5fdcad906dd031e51 Mon Sep 17 00:00:00 2001 From: Carl Gay Date: Mon, 10 Jun 2024 10:40:32 -0400 Subject: [PATCH 3/6] Replace uses of with We're choosing one name for the class and it will be . --- .../compiler/notes-warnings-errors.rst | 2 +- .../common-dylan/common-extensions.rst | 38 +++++++------------ .../library-reference/system/locators.rst | 6 +-- sources/common-dylan/format.dylan | 2 +- sources/common-dylan/streams-protocol.dylan | 4 +- sources/dfmc/conditions/hierarchy.dylan | 2 +- sources/dfmc/conditions/report.dylan | 4 +- sources/dylan/condition.dylan | 1 + sources/dylan/number.dylan | 2 +- .../environment/commands/command-line.dylan | 2 +- sources/environment/commands/properties.dylan | 2 +- .../dfmc/application/breakpoint-objects.dylan | 2 +- .../protocols/condition-objects.dylan | 6 +-- .../environment/tools/project-commands.dylan | 2 +- sources/lib/dood/native-macros.dylan | 2 +- sources/system/locators/locators.dylan | 2 +- sources/system/tests/specification.dylan | 2 +- 17 files changed, 35 insertions(+), 46 deletions(-) diff --git a/documentation/source/hacker-guide/compiler/notes-warnings-errors.rst b/documentation/source/hacker-guide/compiler/notes-warnings-errors.rst index 2c5edcffc..5d6bc22fd 100644 --- a/documentation/source/hacker-guide/compiler/notes-warnings-errors.rst +++ b/documentation/source/hacker-guide/compiler/notes-warnings-errors.rst @@ -341,7 +341,7 @@ Program Conditions :open: :abstract: - :superclasses: :const:`` + :superclasses: :class:`` :keyword compilation-stage: Defaults to the value of :var:`*current-stage*`. :keyword program-note-creator: Defaults to the value of :var:`*current-dependent*`. diff --git a/documentation/source/library-reference/common-dylan/common-extensions.rst b/documentation/source/library-reference/common-dylan/common-extensions.rst index e5d853c3d..c9922d848 100644 --- a/documentation/source/library-reference/common-dylan/common-extensions.rst +++ b/documentation/source/library-reference/common-dylan/common-extensions.rst @@ -15,8 +15,7 @@ The extensions are: - Collection model: :class:``, :class:``, :gf:`difference`, :func:`fill-table!`, :gf:`find-element`, :gf:`position`, :gf:`remove-all-keys!`, :macro:`define table`, :gf:`split`, and :gf:`join`. -- Condition system: :class:``, - :class:``, and :gf:`condition-to-string`. +- Condition system: :class:``, and :gf:`condition-to-string`. - Control flow: :macro:`iterate` and :macro:`when`. - Development conveniences: @@ -528,25 +527,6 @@ The extensions are: Formats a floating-point number to a string. It uses scientific notation where necessary. -.. class:: - :sealed: - :instantiable: - - The class of conditions that take a format string. - - :superclasses: :drm:`` - - :description: - - The class of conditions that take a format string, as defined by - the DRM. - - It is the superclass of Dylan's :class:``. - - :seealso: - - - The :doc:`Format module <../io/format>` in the :doc:`IO library <../io/index>`. - .. function:: ignore A compiler directive that tells the compiler it must not issue a @@ -783,20 +763,28 @@ The extensions are: :sealed: :instantiable: - The class of simple conditions. + The class of conditions that accept a format string and format arguments + with which to build a message describing the condition. - :superclasses: :class:`` + :superclasses: :class:`` :description: - The class of simple conditions. It is the superclass of :drm:``, - :drm:``, and :drm:``. + As the superclass of :drm:``, :drm:``, and + :drm:``, the :class:`` class provides + the ``format-string:`` and ``format-arguments:`` init keywords described + in the DRM. :operations: - :drm:`condition-format-string` - :drm:`condition-format-arguments` + :seealso: + + - The :doc:`format module <../io/format>` in the :doc:`IO library + <../io/index>`. + .. class:: :open: :abstract: diff --git a/documentation/source/library-reference/system/locators.rst b/documentation/source/library-reference/system/locators.rst index fed58888d..890f0a02b 100644 --- a/documentation/source/library-reference/system/locators.rst +++ b/documentation/source/library-reference/system/locators.rst @@ -85,8 +85,8 @@ The locators Module All errors raised by the locator system should be instances of this error. - - :superclasses: :class:``, :drm:`` + + :superclasses: :class:``, :drm:`` .. class:: @@ -94,7 +94,7 @@ The locators Module :abstract: The abstract superclass of locators for servers. - + :superclasses: :class:`` :seealso: diff --git a/sources/common-dylan/format.dylan b/sources/common-dylan/format.dylan index cdf63103f..2e366554b 100644 --- a/sources/common-dylan/format.dylan +++ b/sources/common-dylan/format.dylan @@ -582,7 +582,7 @@ define method condition-to-string end method condition-to-string; define method condition-to-string - (condition :: ) => (string :: ) + (condition :: ) => (string :: ) apply(format-to-string, condition-format-string(condition), condition-format-arguments(condition)) diff --git a/sources/common-dylan/streams-protocol.dylan b/sources/common-dylan/streams-protocol.dylan index cb3bdaab5..8af73b020 100644 --- a/sources/common-dylan/streams-protocol.dylan +++ b/sources/common-dylan/streams-protocol.dylan @@ -5,7 +5,7 @@ Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc. License: See License.txt in this distribution for details. Warranty: Distributed WITHOUT WARRANTY OF ANY KIND -define open abstract class (, ) +define open abstract class (, ) constant slot stream-error-stream :: , required-init-keyword: stream:; end; @@ -17,7 +17,7 @@ define generic stream-error-stream // TODO: yuck. Would be nicer to just have a condition-to-string method.. // andrewa: note that then you need to update the runtime manager to // know about the new class too, it is simpler to rely on subclassing -// . +// . define method make (class :: subclass(), #rest args, diff --git a/sources/dfmc/conditions/hierarchy.dylan b/sources/dfmc/conditions/hierarchy.dylan index 31072525a..3aec04232 100644 --- a/sources/dfmc/conditions/hierarchy.dylan +++ b/sources/dfmc/conditions/hierarchy.dylan @@ -41,7 +41,7 @@ define function invoke-debugger (condition) end; // best to subclass one of , , or // instead. -define open abstract class () +define open abstract class () // TODO: Make this class primary. diff --git a/sources/dfmc/conditions/report.dylan b/sources/dfmc/conditions/report.dylan index 37c26138b..62a43e65a 100644 --- a/sources/dfmc/conditions/report.dylan +++ b/sources/dfmc/conditions/report.dylan @@ -23,8 +23,8 @@ define thread variable *detail-level* :: = #"normal"; // specializable parameter. // // The default method for s takes advantage of the -// fact that all program conditions obey the -// (aka ) protocol of having a format string and its +// fact that all program conditions obey the +// protocol of having a format string and its // arguments in the condition itself. Methods for conditions outside // the program condition hierarchy just handle the default level by // using the %s/%= distinction in format. diff --git a/sources/dylan/condition.dylan b/sources/dylan/condition.dylan index 1bcd7860b..587c4dd31 100644 --- a/sources/dylan/condition.dylan +++ b/sources/dylan/condition.dylan @@ -62,6 +62,7 @@ define open abstract primary class () constant slot condition-format-arguments, init-keyword: format-arguments:, init-value: #[]; end class ; +// Deprecated. Use instead. This will be removed in a future release. define constant = ; // debug-message and its C primitive require the arguments as a vector. diff --git a/sources/dylan/number.dylan b/sources/dylan/number.dylan index e5958cb37..10a17be0f 100644 --- a/sources/dylan/number.dylan +++ b/sources/dylan/number.dylan @@ -100,7 +100,7 @@ define generic remainder //// CONDITIONS -define open abstract class (, ) +define open abstract class (, ) inherited slot condition-format-string = "Arithmetic error"; end class ; diff --git a/sources/environment/commands/command-line.dylan b/sources/environment/commands/command-line.dylan index 64615b88c..d1cf2196e 100644 --- a/sources/environment/commands/command-line.dylan +++ b/sources/environment/commands/command-line.dylan @@ -260,7 +260,7 @@ define open generic parse-next-argument /// Utilities -define class (, ) +define class (, ) end class ; define class () diff --git a/sources/environment/commands/properties.dylan b/sources/environment/commands/properties.dylan index 42b97e528..d05afb5f0 100644 --- a/sources/environment/commands/properties.dylan +++ b/sources/environment/commands/properties.dylan @@ -137,7 +137,7 @@ end method show-property; /// Errors -define class (, ) +define class (, ) end class ; define method set-error diff --git a/sources/environment/dfmc/application/breakpoint-objects.dylan b/sources/environment/dfmc/application/breakpoint-objects.dylan index cef7b5041..4796d64f3 100644 --- a/sources/environment/dfmc/application/breakpoint-objects.dylan +++ b/sources/environment/dfmc/application/breakpoint-objects.dylan @@ -65,7 +65,7 @@ end class ; ///// // The class of all breakpoint errors -define abstract class (, ) +define abstract class (, ) end class ; diff --git a/sources/environment/protocols/condition-objects.dylan b/sources/environment/protocols/condition-objects.dylan index a125b2fa4..40e57e977 100644 --- a/sources/environment/protocols/condition-objects.dylan +++ b/sources/environment/protocols/condition-objects.dylan @@ -12,9 +12,9 @@ define user-object-class () binding , module: dylan, library: dylan; end user-object-class ; -define user-object-class () - binding , module: dylan-extensions, library: dylan; -end user-object-class ; +define user-object-class () + binding , module: dylan-extensions, library: dylan; +end user-object-class ; define constant $format-condition-string-id = make(, diff --git a/sources/environment/tools/project-commands.dylan b/sources/environment/tools/project-commands.dylan index 783e5a168..860b15bf6 100644 --- a/sources/environment/tools/project-commands.dylan +++ b/sources/environment/tools/project-commands.dylan @@ -526,7 +526,7 @@ end method environment-open-file; /// Project error handling -define class (, ) +define class (, ) end class ; define class () diff --git a/sources/lib/dood/native-macros.dylan b/sources/lib/dood/native-macros.dylan index 7c21252d6..6eda13c4c 100644 --- a/sources/lib/dood/native-macros.dylan +++ b/sources/lib/dood/native-macros.dylan @@ -4,7 +4,7 @@ Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc. License: See License.txt in this distribution for details. Warranty: Distributed WITHOUT WARRANTY OF ANY KIND -define class (, ) +define class (, ) end class; /* diff --git a/sources/system/locators/locators.dylan b/sources/system/locators/locators.dylan index c34171a4b..adf08c0f5 100644 --- a/sources/system/locators/locators.dylan +++ b/sources/system/locators/locators.dylan @@ -113,7 +113,7 @@ end method as; /// Locator conditions -define class (, ) +define class (, ) end class ; define function locator-error diff --git a/sources/system/tests/specification.dylan b/sources/system/tests/specification.dylan index b1956b035..bfecf6587 100644 --- a/sources/system/tests/specification.dylan +++ b/sources/system/tests/specification.dylan @@ -73,7 +73,7 @@ define interface-specification-suite file-system-locators-specification-suite () (subclass(), ) => (); // Locator conditions - instantiable class (, ); + instantiable class (, ); function locator-error (, #"rest") => (#"rest"); // Utilities From 560255618fcaac1ccfceecd12d13e1d7ee963059 Mon Sep 17 00:00:00 2001 From: Carl Gay Date: Mon, 10 Jun 2024 10:58:13 -0400 Subject: [PATCH 4/6] Use and where appropriate Replaces superclass lists like `(, )` with just `()`, and similarly for warnings, where the subclass doesn't need to be abstract. --- documentation/source/library-reference/system/locators.rst | 2 +- sources/environment/commands/command-line.dylan | 2 +- sources/environment/commands/properties.dylan | 2 +- sources/environment/tools/project-commands.dylan | 2 +- sources/lib/dood/native-macros.dylan | 2 +- sources/project-manager/user-projects/interactive-project.dylan | 2 +- sources/system/file-system/file-system.dylan | 2 +- sources/system/locators/locators.dylan | 2 +- sources/system/tests/specification.dylan | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/documentation/source/library-reference/system/locators.rst b/documentation/source/library-reference/system/locators.rst index 890f0a02b..8a77d73f3 100644 --- a/documentation/source/library-reference/system/locators.rst +++ b/documentation/source/library-reference/system/locators.rst @@ -86,7 +86,7 @@ The locators Module All errors raised by the locator system should be instances of this error. - :superclasses: :class:``, :drm:`` + :superclasses: :drm:`` .. class:: diff --git a/sources/environment/commands/command-line.dylan b/sources/environment/commands/command-line.dylan index d1cf2196e..a3f80a8d4 100644 --- a/sources/environment/commands/command-line.dylan +++ b/sources/environment/commands/command-line.dylan @@ -260,7 +260,7 @@ define open generic parse-next-argument /// Utilities -define class (, ) +define class () end class ; define class () diff --git a/sources/environment/commands/properties.dylan b/sources/environment/commands/properties.dylan index d05afb5f0..0fba3cfd9 100644 --- a/sources/environment/commands/properties.dylan +++ b/sources/environment/commands/properties.dylan @@ -137,7 +137,7 @@ end method show-property; /// Errors -define class (, ) +define class () end class ; define method set-error diff --git a/sources/environment/tools/project-commands.dylan b/sources/environment/tools/project-commands.dylan index 860b15bf6..2b0d5788a 100644 --- a/sources/environment/tools/project-commands.dylan +++ b/sources/environment/tools/project-commands.dylan @@ -526,7 +526,7 @@ end method environment-open-file; /// Project error handling -define class (, ) +define class () end class ; define class () diff --git a/sources/lib/dood/native-macros.dylan b/sources/lib/dood/native-macros.dylan index 6eda13c4c..24f2261a4 100644 --- a/sources/lib/dood/native-macros.dylan +++ b/sources/lib/dood/native-macros.dylan @@ -4,7 +4,7 @@ Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc. License: See License.txt in this distribution for details. Warranty: Distributed WITHOUT WARRANTY OF ANY KIND -define class (, ) +define class () end class; /* diff --git a/sources/project-manager/user-projects/interactive-project.dylan b/sources/project-manager/user-projects/interactive-project.dylan index 97cb4388e..ab9cb7eb5 100644 --- a/sources/project-manager/user-projects/interactive-project.dylan +++ b/sources/project-manager/user-projects/interactive-project.dylan @@ -101,7 +101,7 @@ define method project-close-compilation-contexts next-method() end; -define class (, ) end; +define class () end; define function verify-execution-target (project :: ) diff --git a/sources/system/file-system/file-system.dylan b/sources/system/file-system/file-system.dylan index fa5aa63b6..ffbdc20c5 100644 --- a/sources/system/file-system/file-system.dylan +++ b/sources/system/file-system/file-system.dylan @@ -22,7 +22,7 @@ end class ; define class (, ) end class ; -define sealed class (, ) +define sealed class () end class ; define sealed class () diff --git a/sources/system/locators/locators.dylan b/sources/system/locators/locators.dylan index adf08c0f5..93c13a04e 100644 --- a/sources/system/locators/locators.dylan +++ b/sources/system/locators/locators.dylan @@ -113,7 +113,7 @@ end method as; /// Locator conditions -define class (, ) +define class () end class ; define function locator-error diff --git a/sources/system/tests/specification.dylan b/sources/system/tests/specification.dylan index bfecf6587..85b4366c7 100644 --- a/sources/system/tests/specification.dylan +++ b/sources/system/tests/specification.dylan @@ -73,7 +73,7 @@ define interface-specification-suite file-system-locators-specification-suite () (subclass(), ) => (); // Locator conditions - instantiable class (, ); + instantiable class (); function locator-error (, #"rest") => (#"rest"); // Utilities From cb5eb09a3f54516731075f098eb34d2ba7aef025 Mon Sep 17 00:00:00 2001 From: Carl Gay Date: Mon, 10 Jun 2024 11:00:07 -0400 Subject: [PATCH 5/6] Deprecate Use instead. There's no point having two names for one class. --- sources/common-dylan/library.dylan | 4 ++-- sources/dfmc/modeling/namespaces.dylan | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sources/common-dylan/library.dylan b/sources/common-dylan/library.dylan index 78bb4c7d1..a78ac4dca 100644 --- a/sources/common-dylan/library.dylan +++ b/sources/common-dylan/library.dylan @@ -66,7 +66,8 @@ end module byte-vector; define module common-extensions use dylan-extensions, export: { , - , + , // Deprecated... + , // ...use this instead. , , , @@ -75,7 +76,6 @@ define module common-extensions , , , - , , , false-or, diff --git a/sources/dfmc/modeling/namespaces.dylan b/sources/dfmc/modeling/namespaces.dylan index fac8b9f9a..15377adfd 100644 --- a/sources/dfmc/modeling/namespaces.dylan +++ b/sources/dfmc/modeling/namespaces.dylan @@ -719,8 +719,8 @@ define &module dylan-extensions create \last-handler-definer, - , - , // HACK: COMPATIBILITY + , // Deprecated... + , // ...use this instead. , , , From 1102acb68daa286074a46634acdd9a66089e37c6 Mon Sep 17 00:00:00 2001 From: Carl Gay Date: Mon, 10 Jun 2024 11:01:20 -0400 Subject: [PATCH 6/6] doc: minor changes related to --- .../source/getting-started-cli/debugging-with-gdb-lldb.rst | 6 +++--- documentation/source/library-reference/io/print.rst | 2 +- documentation/source/library-reference/network/index.rst | 2 +- .../source/library-reference/system/file-system.rst | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/documentation/source/getting-started-cli/debugging-with-gdb-lldb.rst b/documentation/source/getting-started-cli/debugging-with-gdb-lldb.rst index 53760b282..c028e0b00 100644 --- a/documentation/source/getting-started-cli/debugging-with-gdb-lldb.rst +++ b/documentation/source/getting-started-cli/debugging-with-gdb-lldb.rst @@ -361,16 +361,16 @@ and will assist you in analyzing values. .. c:function:: bool dylan_simple_condition_p (D instance) - Tests whether instance is a ````. + Tests whether instance is a :class:``. .. c:function:: D dylan_simple_condition_format_string (D instance) - Returns the format string stored in the given ````. + Returns the format string stored in the given :class:``. .. c:function:: D dylan_simple_condition_format_args (D instance) Returns the format string arguments stored in the given - ````. + :class:``. .. c:function:: bool dylan_class_p (D instance) diff --git a/documentation/source/library-reference/io/print.rst b/documentation/source/library-reference/io/print.rst index 13238a888..99baac3f7 100644 --- a/documentation/source/library-reference/io/print.rst +++ b/documentation/source/library-reference/io/print.rst @@ -349,7 +349,7 @@ IO library's *print* module. end; With the above method, an ```` object with name "foo" will print as - ``{ "foo" #xDEADBEEF}``. + ``{ "foo" 123}`` where ``123`` is a unique identifier for the object. The pprint Module diff --git a/documentation/source/library-reference/network/index.rst b/documentation/source/library-reference/network/index.rst index 9010201d8..226698d4c 100644 --- a/documentation/source/library-reference/network/index.rst +++ b/documentation/source/library-reference/network/index.rst @@ -731,7 +731,7 @@ This section lists the socket condition classes in the Network library. :description: The class of socket conditions. It inherits the ``format-string:`` - and ``format-arguments:`` keywords from + and ``format-arguments:`` init keywords from :class:``. Slots: diff --git a/documentation/source/library-reference/system/file-system.rst b/documentation/source/library-reference/system/file-system.rst index 4c2245662..3b5d9efab 100644 --- a/documentation/source/library-reference/system/file-system.rst +++ b/documentation/source/library-reference/system/file-system.rst @@ -797,10 +797,10 @@ File-System module. .. class:: - Error type signaled when any other functions in the File-System + Error type signaled when any of the functions in the File-System module signal an error. - :superclasses: :drm:``, :class:`` + :superclasses: :drm:`` :description: