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

document that print(x) and repr(x) call 2-arg show #53927

Merged
merged 5 commits into from Apr 15, 2024

Conversation

stevengj
Copy link
Member

@stevengj stevengj commented Apr 2, 2024

As mentioned here, the print(x) and repr(x) docstrings say that they default to calling show, but don't specifically say that they call the 2-argument show. (Probably because they pre-date the 3-argument show).

@stevengj stevengj added doc This change adds or pertains to documentation display and printing Aesthetics and correctness of printed representations of objects. labels Apr 2, 2024
base/strings/io.jl Outdated Show resolved Hide resolved
base/strings/io.jl Outdated Show resolved Hide resolved
@stevengj stevengj added the merge me PR is reviewed. Merge when all tests are passing label Apr 10, 2024
@IanButterworth IanButterworth merged commit 3dd07fd into master Apr 15, 2024
7 checks passed
@IanButterworth IanButterworth deleted the stevengj-patch-6 branch April 15, 2024 13:21
@fatteneder fatteneder removed the merge me PR is reviewed. Merge when all tests are passing label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
display and printing Aesthetics and correctness of printed representations of objects. doc This change adds or pertains to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants