Skip to content

Commit 5e81269

Browse files
gpsheadclaude
andcommitted
Remove incorrect "default if no value provided" from timestamp docs
"us" is what "1" means, not what you get when no value is provided. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent afa13d4 commit 5e81269

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/using/cmdline.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ Miscellaneous options
712712
* :samp:`-X traceback_timestamps=[us|ns|iso|0|1]` enables or configures timestamp
713713
display in exception tracebacks. When enabled, each exception's traceback
714714
will include a timestamp showing when the exception occurred. The format
715-
options are: ``us`` (microseconds, default if no value provided), ``ns``
715+
options are: ``us`` (microseconds), ``ns``
716716
(nanoseconds), ``iso`` (ISO-8601 formatted time), ``0`` (disable timestamps),
717717
and ``1`` (equivalent to ``us``). See also :envvar:`PYTHON_TRACEBACK_TIMESTAMPS`.
718718

Python/initconfig.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ The following implementation-specific options are available:\n\
320320
for installed Python and \"off\" for a local build;\n\
321321
also PYTHON_FROZEN_MODULES\n\
322322
-X traceback_timestamps=[us|ns|iso|0|1]: display timestamp in tracebacks when\n\
323-
exception occurs; \"us\" (default if no value provided) shows microseconds;\n\
323+
exception occurs; \"us\" shows microseconds;\n\
324324
\"ns\" shows raw nanoseconds; \"iso\" shows ISO-8601 format; \"0\" disables timestamps;\n\
325325
\"1\" is equivalent to \"us\"; also PYTHON_TRACEBACK_TIMESTAMPS\n\
326326
"

0 commit comments

Comments
 (0)