From 7bebb3e128f799d006cd023d053e55e4ca8a59a9 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 10 Oct 2018 09:40:24 -0700 Subject: [PATCH] Clarify overload resolution in docs --- doc/api.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api.rst b/doc/api.rst index 0c3a54d3..83c9340b 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -32,7 +32,8 @@ They take *format_str* and *args* as arguments. *format_str* is a format string that contains literal text and replacement fields surrounded by braces ``{}``. The fields are replaced with formatted -arguments in the resulting string. +arguments in the resulting string. A function taking *format_str* doesn't +participate in an overload resolution if the latter is not a string. *args* is an argument list representing objects to be formatted.