Skip to content

bpo-46196: document method cmd.Cmd.columnize #30303

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

Merged
merged 4 commits into from
Jan 2, 2022
Merged

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Dec 30, 2021

I've decided that just coping the existing docs from

cpython/Lib/cmd.py

Lines 346 to 351 in 8d7644f

def columnize(self, list, displaywidth=80):
"""Display a list of strings as a compact set of columns.
Each column is only as wide as necessary.
Columns are separated by two spaces (one was not legible enough).
"""
is good enough.

If not, I would be happy to change it.

https://bugs.python.org/issue46196

sobolevn and others added 2 commits January 1, 2022 02:02
Co-authored-by: Éric <merwok@netwok.org>
…vQ8Sq.rst

Co-authored-by: Éric <merwok@netwok.org>
@merwok merwok changed the title bpo-46196: add docs about cmd.Cmd.columnize bpo-46196: document method cmd.Cmd.columnize Jan 1, 2022
@merwok merwok merged commit ce4d25f into python:main Jan 2, 2022
@bedevere-bot
Copy link

@merwok: Please replace # with GH- in the commit message next time. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants