Skip to content

Commit 2d5d421

Browse files
committed
Remove unprotect on both Subsets and All...
Since these should not be unprotected...
1 parent fc8be34 commit 2d5d421

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

mathics/builtin/combinatorial.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,6 @@ class Subsets(Builtin):
454454
= {}
455455
"""
456456

457-
attributes = ("Unprotected",)
458457
rules = {
459458
"Subsets[list_ , Pattern[n,_?ListQ|All|DirectedInfinity[1]], spec_]": "Take[Subsets[list, n], spec]",
460459
}

mathics/builtin/lists.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,6 @@ class All(Predefined):
383383
<dd>is a possible option value for 'Span', 'Quiet', 'Part' and related functions. 'All' specifies all parts at a particular level.
384384
</dl>
385385
"""
386-
attributes = ("Unprotected",)
387386

388387
pass
389388

0 commit comments

Comments
 (0)