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

Revert "Doc: improve @(s)printf docstrings" #47734

Merged
merged 1 commit into from
Nov 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions stdlib/Printf/src/Printf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -911,10 +911,6 @@ Use shorter of decimal or scientific 1.23 1.23e+07
For a systematic specification of the format, see [here](https://www.cplusplus.com/reference/cstdio/printf/).
See also [`@sprintf`](@ref) to get the result as a `String` instead of it being printed.

If you need to use a programmatically generated format string, use
`print(Printf.format(Printf.Format(format_string), args...))` instead.
See [`Printf.format`](@ref) for more details.

# Caveats
`Inf` and `NaN` are printed consistently as `Inf` and `NaN` for flags `%a`, `%A`,
`%e`, `%E`, `%f`, `%F`, `%g`, and `%G`. Furthermore, if a floating point number is
Expand Down Expand Up @@ -955,10 +951,6 @@ end

Return [`@printf`](@ref) formatted output as string.

If you need to use a programmatically generated format string, use
`Printf.format(Printf.Format(format_string), args...)` instead.
See [`Printf.format`](@ref) for more details.

# Examples
```jldoctest
julia> @sprintf "this is a %s %15.1f" "test" 34.567
Expand Down