#NEWLINE# @ staticmethod #NEWLINE# def slice_to_numerical_args( slice_ , num_examples ) : #NEWLINE# #INDENT# "Translate a slice's attributes into numerical attributes.\n\n        Parameters\n        ----------\n        slice_ : :class:`slice`\n            Slice for which numerical attributes are wanted.\n        num_examples : int\n            Number of examples in the indexable that is to be sliced\n            through. This determines the numerical value for the `stop`\n            attribute in case it's `None`.\n\n        " #NEWLINE# start = ( slice_ . start if ( slice_ . start is not None ) else 0 ) #NEWLINE# stop = ( slice_ . stop if ( slice_ . stop is not None ) else num_examples ) #NEWLINE# step = ( slice_ . step if ( slice_ . step is not None ) else 1 ) #NEWLINE# return ( start , stop , start )