Re: Reading the documentation

2017-08-26 Thread Tim Golden
On 26/08/2017 03:22, Rick Johnson wrote: Steve D'Aprano wrote: Rustom Mody wrote: Ian wrote: "Larry Martell" wrote: 9:21 PM Rustom Mody wrote: Statement 1: Aeroplanes fly. Statement 2: Submarines swim. Are these two statements equally acceptable? [Inspired by a talk by Noam Chomsky] There

Re: Protocols in Python

2017-08-26 Thread Ian Kelly
On Sat, Aug 26, 2017 at 6:35 PM, Stefan Ram wrote: > The "The Python Library Reference, Release 3.6.0" (LIB) says: > > »it must support the sequence protocol (the > __getitem__() method with integer arguments > starting at 0).«. > > But in the "The Python Language Reference,