Ellipsis outside a slice
Terry Reedy
tjreedy at udel.edu
Wed Oct 8 22:10:05 EDT 2003
More information about the Python-list mailing list
Wed Oct 8 22:10:05 EDT 2003
- Previous message (by thread): C extension question about avoiding memory leaks with the object returned...
- Next message (by thread): Ellipsis outside a slice
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Chris Perkins" <chrisperkins37 at hotmail.com> wrote in message news:45228044.0310081250.5b51e811 at posting.google.com... > Is there a reason why the ... notation as a literal for Ellipsis is > only allowed inside a slice? Would allowing it elsewhere frighten the > parser? It would complicate the parser for no purpose. One can already access the singleton ellipsis object by it name -- Ellipsis. It was invented and added for use in extended slices by Numerical Python and has no grammatical use outside slices. TJR
- Previous message (by thread): C extension question about avoiding memory leaks with the object returned...
- Next message (by thread): Ellipsis outside a slice
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list