[issue29254] Documentation Error

2019-05-10 Thread SilentGhost
Change by SilentGhost : -- Removed message: https://bugs.python.org/msg342070 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue29254] Documentation Error

2019-05-10 Thread kev levrone
kev levrone added the comment: The nevents argument determines the size of eventlist. When nevents is zero, kevent() will return immediately even if there is a timeout specified unlike select(2). https://goo.gl/KyvnZF -- nosy: +kevlevrone ___

[issue29254] Documentation Error

2017-01-12 Thread Ammar Askar
Ammar Askar added the comment: Given `slice[start:end]`: What this line is trying to say is that the slice index is inclusive for the start parameter and exclusive for the end parameter. In mathematical/interval notation this would look like [start, end) As a quick example look at the word

[issue29254] Documentation Error

2017-01-12 Thread Suraj Kumar
New submission from Suraj Kumar: Hi, I have found one documentation mistake in section 3.1.2. Strings saying """Note how the start is always included, and the end always excluded. This makes sure that s[:i] + s[i:] is always equal to s: >>>word = 'Python' >>> word[:2] + word[2:] 'Python' """