https://github.com/JuliaLang/julia
Revision 3dd07fd356c6b26a880aac9d73bda08600e2ca4c authored by Steven G. Johnson on 15 April 2024, 13:21:32 UTC, committed by GitHub on 15 April 2024, 13:21:32 UTC
As mentioned
[here](https://discourse.julialang.org/t/improving-doc-for-display-print-show-repr/69124/4),
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`).
1 parent 7ba1b33
History
Tip revision: 3dd07fd356c6b26a880aac9d73bda08600e2ca4c authored by Steven G. Johnson on 15 April 2024, 13:21:32 UTC
document that print(x) and repr(x) call 2-arg show (#53927)
Tip revision: 3dd07fd
File Mode Size
.devcontainer
.github
base
cli
contrib
deps
doc
etc
src
stdlib
test
.buildkite-external-version -rw-r--r-- 5 bytes
.clang-format -rw-r--r-- 3.3 KB
.clangd -rw-r--r-- 114 bytes
.codecov.yml -rw-r--r-- 52 bytes
.git-blame-ignore-revs -rw-r--r-- 371 bytes
.gitattributes -rw-r--r-- 65 bytes
.gitignore -rw-r--r-- 571 bytes
.mailmap -rw-r--r-- 12.7 KB
CITATION.bib -rw-r--r-- 513 bytes
CITATION.cff -rw-r--r-- 1012 bytes
CONTRIBUTING.md -rw-r--r-- 23.4 KB
HISTORY.md -rw-r--r-- 388.0 KB
LICENSE.md -rw-r--r-- 1.3 KB
Make.inc -rw-r--r-- 56.4 KB
Makefile -rw-r--r-- 30.4 KB
NEWS.md -rw-r--r-- 4.4 KB
README.md -rw-r--r-- 7.4 KB
THIRDPARTY.md -rw-r--r-- 3.9 KB
VERSION -rw-r--r-- 11 bytes
julia.spdx.json -rw-r--r-- 37.8 KB
pkgimage.mk -rw-r--r-- 1.4 KB
sysimage.mk -rw-r--r-- 4.2 KB
typos.toml -rw-r--r-- 78 bytes

README.md

back to top