Is the colon :
, when used in slices in Python, called anything special? Other than, say, the slightly medicinal sounding "colon operator"?
x = s[:5]
# ^ this character
Is the colon :
, when used in slices in Python, called anything special? Other than, say, the slightly medicinal sounding "colon operator"?
x = s[:5]
# ^ this character
I researched the History of Python blog written by Python's creator and they only ever seem to refer to it as a colon. Example reference: http://python-history.blogspot.com/2011/07/karin-dewar-indentation-and-colon.html
Delimiter, I hereby name you :
colonic slice