projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
35f7e05
)
[py] fix % escaping in py-source.c
author
Paul Brossier
<piem@piem.org>
Tue, 20 Nov 2018 21:46:19 +0000
(22:46 +0100)
committer
Paul Brossier
<piem@piem.org>
Tue, 20 Nov 2018 21:46:19 +0000
(22:46 +0100)
python/ext/py-source.c
patch
|
blob
|
history
diff --git
a/python/ext/py-source.c
b/python/ext/py-source.c
index
ca525bf
..
7687fbd
100644
(file)
--- 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"