From 15c3466808374dd402d6cc179350742cdac37ce9 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 20 Nov 2018 22:46:19 +0100 Subject: [PATCH] [py] fix % escaping in py-source.c --- python/ext/py-source.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ext/py-source.c b/python/ext/py-source.c index ca525bf4..7687fbd9 100644 --- a/python/ext/py-source.c +++ b/python/ext/py-source.c @@ -155,7 +155,7 @@ static char Py_source_doc[] = "" "... for samples in source:\n" "... n_frames += len(samples)\n" "... print('read', n_frames, 'samples in', samples.shape[0], 'channels',\n" -"... 'from file \"\%s\"' \% source.uri)\n" +"... 'from file \"%%s\"' %% source.uri)\n" "...\n" "read 239334 samples in 2 channels from file \"audiotrack.wav\"\n" "\n" -- 2.11.0