Skip to content

Commit 807e3cf

Browse files
committed
Update docstring
1 parent 7e315b9 commit 807e3cf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

opentelemetry-api/src/opentelemetry/trace/__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -491,10 +491,8 @@ def get_tracer(
491491
) -> "Tracer":
492492
"""Returns a `Tracer` for use by the given instrumentation library.
493493
494-
This function is a convenience wrapper for
495-
opentelemetry.trace.TracerProvider.get_tracer.
496-
497-
If tracer_provider is ommited the current configured one is used.
494+
If tracer_provider is ommited it returns a `ProxyTracer`
495+
which redirects calls to a current instrumentation library.
498496
"""
499497
if tracer_provider is None:
500498
return ProxyTracer(

0 commit comments

Comments
 (0)