aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/tests/t-quick-key-manipulation.py
diff options
context:
space:
mode:
authorTobias Mueller <[email protected]>2017-08-22 15:48:25 +0000
committerWerner Koch <[email protected]>2017-12-04 07:10:06 +0000
commit3cf9aedc92b6c65d2cb34037e52b9a299637d03b (patch)
tree74d13983b0093fc224af01cadadbf6749bfb0938 /lang/python/tests/t-quick-key-manipulation.py
parentRegister DCO for Tobias Mueller (diff)
downloadgpgme-3cf9aedc92b6c65d2cb34037e52b9a299637d03b.tar.gz
gpgme-3cf9aedc92b6c65d2cb34037e52b9a299637d03b.zip
python: Default whence argument for Data() to SEEK_SET.
* lang/python/gpgme.i: copied signature from gpgme.h and defaulted the value to SEEK_SET. * lang/python/tests/t-data.py: Added a test for no second argument -- Having to import the os package when wanting to read a Data object is a slight annoyance. With SWIG, we can define default parameters. This change defaults the whence argument to SEEK_SET which is how StringIO and BytesIO behave. Signed-off-by: Tobias Mueller <[email protected]>
Diffstat (limited to 'lang/python/tests/t-quick-key-manipulation.py')
0 files changed, 0 insertions, 0 deletions