File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -479,9 +479,7 @@ class Gap(Parent):
479
479
1
480
480
sage: libgap.unset_global('FooBar')
481
481
sage: libgap.get_global('FooBar')
482
- Traceback (most recent call last):
483
- ...
484
- GAPError: Error, VAL_GVAR: No value bound to FooBar
482
+ NULL
485
483
"""
486
484
is_bound = self .function_factory(' IsBoundGlobal' )
487
485
bind_global = self .function_factory(' BindGlobal' )
@@ -504,9 +502,7 @@ class Gap(Parent):
504
502
1
505
503
sage: libgap.unset_global('FooBar')
506
504
sage: libgap.get_global('FooBar')
507
- Traceback (most recent call last):
508
- ...
509
- GAPError: Error, VAL_GVAR: No value bound to FooBar
505
+ NULL
510
506
"""
511
507
is_readonlyglobal = self .function_factory(' IsReadOnlyGlobal' )
512
508
make_readwrite = self .function_factory(' MakeReadWriteGlobal' )
@@ -536,9 +532,7 @@ class Gap(Parent):
536
532
1
537
533
sage: libgap.unset_global('FooBar')
538
534
sage: libgap.get_global('FooBar')
539
- Traceback (most recent call last):
540
- ...
541
- GAPError: Error, VAL_GVAR: No value bound to FooBar
535
+ NULL
542
536
"""
543
537
return make_any_gap_element(self , GAP_ValueGlobalVariable(str_to_bytes(variable)))
544
538
You can’t perform that action at this time.
0 commit comments