aboutsummaryrefslogtreecommitdiff
path: root/bindings/python/docs
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2011-06-02 08:56:03 +0200
committerSebastian Spaeth <Sebastian@SSpaeth.de>2011-06-02 09:03:18 +0200
commitb31247c354b54a3cbeb1c7f9df830e16f7c921d9 (patch)
treea7293c6e59274348809cc43e6bd855967e333306 /bindings/python/docs
parente2afcd2594add5186234124dd38b4b2aeabca5bd (diff)
bindings/python: Implement Message().get_filenames()
Message().get_filenames() will return a generator that allows to iterator over the recorded filenames for a certain Message. Do ntoe that as all generators, these are one-time use only. You will have to reget them to perform various actions. So this works:: len(Message().get_filenames()) list(Message().get_filenames()) for n in Message().get_filenames(): print n But this won't:: names = Message().get_filenames() len(names) #uses up the iterator list(names) #outch, already used up... Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'bindings/python/docs')
0 files changed, 0 insertions, 0 deletions