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

sep parameter is inconsistent with builtin print #13

Closed
darrenburns opened this issue Feb 25, 2020 · 2 comments
Closed

sep parameter is inconsistent with builtin print #13

darrenburns opened this issue Feb 25, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@darrenburns
Copy link
Member

sep behaves differently from builtin print. I don't know if this is intentional or not, but the behaviour is slightly different from how the docs describe it. (I didn't expect the sep to be added to the end of the string, only between the printed items).

Example:

print(".", ".", sep="a")
console.print(".", ".", sep="a")

Output:

.a.
.a.a

Expected output:

.a.
.a.
@willmcgugan
Copy link
Collaborator

Yeah, should be the same as print.

@willmcgugan willmcgugan added the bug Something isn't working label Feb 25, 2020
@willmcgugan
Copy link
Collaborator

Should be fixed in v0.6.0.

How is integration with Ward coming on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants