Clarify that layer can be a tuple

This commit is contained in:
jan 2018-08-30 23:06:56 -07:00
parent 6bafaaf4fc
commit 86068102d9

View File

@ -31,8 +31,8 @@ class Shape(metaclass=ABCMeta):
# [x_offset, y_offset] # [x_offset, y_offset]
_offset = numpy.array([0.0, 0.0]) # type: numpy.ndarray _offset = numpy.array([0.0, 0.0]) # type: numpy.ndarray
# Layer (integer >= 0) # Layer (integer >= 0 or tuple)
_layer = 0 # type: int _layer = 0 # type: int or Tuple
# Dose # Dose
_dose = 1.0 # type: float _dose = 1.0 # type: float