Fix TypeError: '>=' not supported between instances of 'str' and 'int'
Andreas Tille
5 years ago
0 | Author: Andreas Tille <tille@debian.org> | |
1 | Last-Update: Tue, 15 Jan 2019 18:10:07 +0100 | |
2 | Description: Avoid error | |
3 | TypeError: '>=' not supported between instances of 'str' and 'int' | |
4 | ||
5 | --- a/src/bindings/swig/swigdoc.py | |
6 | +++ b/src/bindings/swig/swigdoc.py | |
7 | @@ -467,7 +467,7 @@ class Method: | |
8 | # this fixes a real problem in the Java documentation for libSBML. | |
9 | ||
10 | if language == 'java' or language == 'csharp': | |
11 | - if isConst and 'unsigned int' in args >= 0: | |
12 | + if isConst and 'unsigned int' in args : # >= 0: | |
13 | self.args = '' | |
14 | elif not args.strip() == '()': | |
15 | if isConst: |