From 039e22da95c79783652a77be9a8b68bb7a882dc6 Mon Sep 17 00:00:00 2001 From: mmatera Date: Thu, 8 Aug 2024 08:10:28 -0300 Subject: [PATCH] normalizing linebreaks after --- mathics/builtin/arithfns/basic.py | 2 ++ mathics/builtin/arithmetic.py | 1 + mathics/builtin/assignments/assignment.py | 1 + mathics/builtin/assignments/clear.py | 2 ++ mathics/builtin/atomic/strings.py | 1 + mathics/builtin/binary/system.py | 2 ++ mathics/builtin/binary/types.py | 1 + mathics/builtin/datentime.py | 1 + mathics/builtin/directories/system_directories.py | 1 + mathics/builtin/drawing/drawing_options.py | 3 +++ mathics/builtin/drawing/plot.py | 1 + mathics/builtin/evaluation.py | 3 +++ mathics/builtin/fileformats/htmlformat.py | 6 ++++++ mathics/builtin/fileformats/xmlformat.py | 1 + mathics/builtin/files_io/files.py | 1 + mathics/builtin/functional/composition.py | 1 + mathics/builtin/graphics.py | 1 + mathics/builtin/kernel_sessions.py | 1 + mathics/builtin/list/associations.py | 1 + mathics/builtin/mainloop.py | 3 +++ mathics/builtin/numbers/algebra.py | 1 + mathics/builtin/numbers/constants.py | 1 + mathics/builtin/numbers/randomnumbers.py | 1 + mathics/builtin/numeric.py | 3 +++ mathics/builtin/patterns.py | 2 ++ mathics/builtin/procedural.py | 4 ++++ mathics/builtin/specialfns/gamma.py | 2 ++ mathics/builtin/system.py | 9 +++++++++ mathics/builtin/testing_expressions/logic.py | 2 ++ .../builtin/testing_expressions/numerical_properties.py | 1 + 30 files changed, 60 insertions(+) diff --git a/mathics/builtin/arithfns/basic.py b/mathics/builtin/arithfns/basic.py index 2729ba25a..1d4385a14 100644 --- a/mathics/builtin/arithfns/basic.py +++ b/mathics/builtin/arithfns/basic.py @@ -120,6 +120,7 @@ class Divide(BinaryOperator):
'$a$ / $b$'
represents the division of $a$ by $b$. + >> 30 / 5 = 6 >> 1 / 8 @@ -579,6 +580,7 @@ class Times(BinaryOperator, SympyFunction):
'$a$ $b$ ...'
represents the product of the terms $a$, $b$, ... + >> 10 * 2 = 20 >> 10 2 diff --git a/mathics/builtin/arithmetic.py b/mathics/builtin/arithmetic.py index f73d0699f..3ae339406 100644 --- a/mathics/builtin/arithmetic.py +++ b/mathics/builtin/arithmetic.py @@ -180,6 +180,7 @@ class Assuming(Builtin):
'Assuming[$cond$, $expr$]'
Evaluates $expr$ assuming the conditions $cond$. + >> $Assumptions = { x > 0 } = {x > 0} >> Assuming[y>0, ConditionalExpression[y x^2, y>0]//Simplify] diff --git a/mathics/builtin/assignments/assignment.py b/mathics/builtin/assignments/assignment.py index 43f39d775..b948796fe 100644 --- a/mathics/builtin/assignments/assignment.py +++ b/mathics/builtin/assignments/assignment.py @@ -65,6 +65,7 @@ class LoadModule(Builtin):
'LoadModule[$module$]'
'Load Mathics definitions from the python module $module$ + >> LoadModule["nomodule"] : Python import errors with: No module named 'nomodule'. = $Failed diff --git a/mathics/builtin/assignments/clear.py b/mathics/builtin/assignments/clear.py index 7ef50cb15..4f8da6e40 100644 --- a/mathics/builtin/assignments/clear.py +++ b/mathics/builtin/assignments/clear.py @@ -179,6 +179,7 @@ class Remove(Builtin):
'Remove[$x$]'
removes the definition associated to $x$. + >> a := 2 >> Names["Global`a"] = {a} @@ -214,6 +215,7 @@ class Unset(PostfixOperator):
'$x$=.'
removes any value belonging to $x$. + >> a = 2 = 2 >> a =. diff --git a/mathics/builtin/atomic/strings.py b/mathics/builtin/atomic/strings.py index 99fcc5d24..011edf569 100644 --- a/mathics/builtin/atomic/strings.py +++ b/mathics/builtin/atomic/strings.py @@ -389,6 +389,7 @@ class InterpretedBox(PrefixOperator):
'InterpretedBox[$box$]'
is the ad hoc fullform for \! $box$. just for internal use... + >> \! \(2+2\) = 4 """ diff --git a/mathics/builtin/binary/system.py b/mathics/builtin/binary/system.py index 91d3eacd2..8887ebe8d 100644 --- a/mathics/builtin/binary/system.py +++ b/mathics/builtin/binary/system.py @@ -20,6 +20,7 @@ class ByteOrdering(Predefined): that specifies what ordering of bytes should be assumed for your \ computer system.. + """ name = "ByteOrdering" @@ -34,6 +35,7 @@ class ByteOrdering_(Predefined):
'$ByteOrdering'
returns the native ordering of bytes in binary data on your computer system. + """ name = "$ByteOrdering" diff --git a/mathics/builtin/binary/types.py b/mathics/builtin/binary/types.py index d1c7a7991..c9c391e79 100644 --- a/mathics/builtin/binary/types.py +++ b/mathics/builtin/binary/types.py @@ -15,6 +15,7 @@ class Byte(Builtin):
'Byte'
is a data type for 'Read'. + """ summary_text = "single byte of data, returned as an integer" diff --git a/mathics/builtin/datentime.py b/mathics/builtin/datentime.py index 0f31fef91..e2bc73543 100644 --- a/mathics/builtin/datentime.py +++ b/mathics/builtin/datentime.py @@ -589,6 +589,7 @@ class DateObject(_DateFormat, ImmutableValueMixin):
'DateObject[...]'
Returns an object codifiyng DateList.... + >> DateObject[{2020, 4, 15}] = [...] """ diff --git a/mathics/builtin/directories/system_directories.py b/mathics/builtin/directories/system_directories.py index 15b0e5352..4296ead51 100644 --- a/mathics/builtin/directories/system_directories.py +++ b/mathics/builtin/directories/system_directories.py @@ -61,6 +61,7 @@ class InstallationDirectory(Predefined):
'$InstallationDirectory'
returns the top-level directory in which \\Mathics was installed. + >> $InstallationDirectory = ... """ diff --git a/mathics/builtin/drawing/drawing_options.py b/mathics/builtin/drawing/drawing_options.py index 464bd2417..9f08116a6 100644 --- a/mathics/builtin/drawing/drawing_options.py +++ b/mathics/builtin/drawing/drawing_options.py @@ -146,6 +146,7 @@ class ChartLegends(Builtin):
is an option for charting functions that specifies the legends to be used \ for chart elements. + """ summary_text = "chart option for giving legends to a chart" @@ -175,6 +176,7 @@ class Full(Builtin):
'Full'
is a possible value for the 'Mesh' and 'PlotRange' options. + """ summary_text = "graph option value for Mesh and PlotRange" @@ -301,6 +303,7 @@ class PlotRange(Builtin):
is a charting option, such as for 'Plot', 'BarChart', 'PieChart', \ etc. that gives the range of coordinates to include in a plot. +