Skip to content

Commit 75bc9df

Browse files
committed
Make constants immutable
It seems like these should not, by default, be modifiable by the user.
1 parent 9dffe05 commit 75bc9df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

astrowidgets/interface_definition.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
from abc import abstractmethod
33

44
# Allowed locations for cursor display
5-
ALLOWED_CURSOR_LOCATIONS = ['top', 'bottom', None]
5+
ALLOWED_CURSOR_LOCATIONS = ('top', 'bottom', None)
66

77
# List of marker names that are for internal use only
8-
RESERVED_MARKER_SET_NAMES = ['all']
8+
RESERVED_MARKER_SET_NAMES = ('all',)
99

1010
__all__ = [
1111
'ImageViewerInterface',

0 commit comments

Comments
 (0)