]> granicus.if.org Git - python/commit
__getslice__(): Make this use the constructor form that gets a sequence
authorFred Drake <fdrake@acm.org>
Fri, 6 Oct 2000 19:26:01 +0000 (19:26 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 6 Oct 2000 19:26:01 +0000 (19:26 +0000)
commitcc773d3b11967b36684b0681e54ed6388bf7370c
treed97a4d2aa0ab9b7c3bbc61b1ab0dc52b9b5dfbf4
parente60de4d30984b6d551cda0515fb76ac02d547415
__getslice__():  Make this use the constructor form that gets a sequence
                 as a parameter; this was the only use of the base
                 constructor or surgical alteration of another object's
                 data attribute.

This change simplifies the constructor requirements for subclasses.

This relates to SourceForge bug #115928.
Lib/UserList.py