Sitelet https://web.archive.org/web/20201229115649im_/https://github.com/fluentpython/example-code/pull/4
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

improve Vector.__format__ to support * format specifier #4

Open
wants to merge 1 commit into
base: master
from

Conversation

@alekseyrybalkin
Copy link

@alekseyrybalkin alekseyrybalkin commented Jan 17, 2017 •

Added support for * specifier in Vector.__format__ to show only small number of components by default, but all if * is specified. Creating this pull request was suggested in the soapbox at the end of Chapter 10.

This request is open for suggestions or improvements and critique!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.