Skip to content

Commit 47ea544

Browse files
mmaterarocky
authored andcommitted
removing CombinatoricaOld`
1 parent ef79df6 commit 47ea544

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

mathics/builtin/scoping.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class With(Builtin):
7575
Use 'With' to insert values into held expressions
7676
>> With[{x=y}, Hold[x]]
7777
= Hold[y]
78-
78+
7979
>> Table[With[{i=j}, Hold[i]],{j,1,4}]
8080
= {Hold[1], Hold[2], Hold[3], Hold[4]}
8181
>> x=5; With[{x=x}, Hold[x]]
@@ -465,7 +465,6 @@ class Contexts(Builtin):
465465
## this assignment makes sure that a definition in Global` exists
466466
>> x = 5;
467467
X> Contexts[] // InputForm
468-
469468
"""
470469

471470
def apply(self, evaluation):

mathics/builtin/system.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,13 +230,13 @@ class Packages(Predefined):
230230
</dl>
231231
232232
X> $Packages
233-
= {CombinatoricaOld`,ImportExport`,XML`,Internal`,System`,Global`}
233+
= {ImportExport`,XML`,Internal`,System`,Global`}
234234
#> MemberQ[$Packages, "System`"]
235235
= True
236236
"""
237237

238238
name = "$Packages"
239-
rules = {'$Packages': '{"CombinatoricaOld`", "ImportExport`", "XML`","Internal`", "System`", "Global`"}',}
239+
rules = {'$Packages': '{"ImportExport`", "XML`","Internal`", "System`", "Global`"}',}
240240

241241

242242
class ParentProcessID(Predefined):

0 commit comments

Comments
 (0)