Skip to content

collections.deque doesn't have __iadd__ method. #2838

Closed

Description

@DimitrisJim

Feature

CPython:

>>> from collections import deque
>>> d = deque()
>>> d += deque(range(3))
deque([0, 1, 2])

RustPython:

>>>>> from collections import deque
>>>>> d = deque()
>>>>> d += deque(range(3))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: '+=' not supported between instances of 'deque' and 'deque'

Activity

  1. eldpswp99 commented on Aug 11, 2021

    @eldpswp99
    Contributor

    Hi, @DimitrisJim can i take up this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions