diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2017-09-22 15:18:55 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2017-09-27 14:34:23 +0200 |
commit | 19598e777b8a8e1b601157e863d8311c2df5fb17 (patch) | |
tree | 437855d4043b907cd18e0303d5dd09a6b3ff82ba /M2Crypto/BIO.py | |
parent | 2b8a70e9b2873120a0a3f1399d532d6a4868c551 (diff) | |
download | m2crypto-19598e777b8a8e1b601157e863d8311c2df5fb17.tar.gz |
Fix type comments of dynamic arguments.
def foo(*args):
should have
# type: (*Any) -> None
According to the discussion with Jukka Lehtosalo and Ivan Levkivskyi (on
https://gitter.im/python/typing).
Fixes #147
Diffstat (limited to 'M2Crypto/BIO.py')
-rw-r--r-- | M2Crypto/BIO.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/M2Crypto/BIO.py b/M2Crypto/BIO.py index 3cd4230..beb6391 100644 --- a/M2Crypto/BIO.py +++ b/M2Crypto/BIO.py @@ -174,6 +174,7 @@ class BIO(object): return self def __exit__(self, *args): + # type: (*Any) -> int self.close() |