bpo-27639: Correct return type for UserList slicing operation by mblahay · Pull Request #13169 · python/cpython

@mblahay

Added logic to __getitem__ magic method for UserList to ensure that the return
type matches that of self.

@matrixise matrixise changed the title BPO-27639: Correct return type for UserList slicing operation bpo-27639: Correct return type for UserList slicing operation

May 7, 2019

@mblahay

markshannon

@mblahay

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

May 7, 2019
…GH-13169)

* BPO-27639: Correct return type for UserList slicing operation

Added logic to __getitem__ magic method for UserList to ensure that the return
type matches that of self.
(cherry picked from commit b1c3167)

Co-authored-by: Michael Blahay <mblahay@users.noreply.github.com>

This was referenced

May 17, 2019