Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show "maxlen" in deque repr #13648

Merged
merged 1 commit into from Aug 30, 2022
Merged

Show "maxlen" in deque repr #13648

merged 1 commit into from Aug 30, 2022

Commits on Aug 30, 2022

  1. Show "maxlen" in deque repr

    "collections.deque" has a "maxlen" attribute that should be shown in its repr if defined, just like its default repr does.
    
    This was brought up on Stack Overflow: https://stackoverflow.com/questions/71981214/python-deque-maxlen-does-not-show
    wjandrea authored and Carreau committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    0a8b189 View commit details
    Browse the repository at this point in the history