Skip to content
Myr

Merge pull request #1333 from jayg-ts/issue_750

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Issue 750

authored by David Lord · committed by GitHub · parents 3932d80, 84d685c · Browse files · 1 file+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:docs/parameters.rst+3 added
127 unmodified lines
128 return int(value[2:], 16)129 elif value[:1] == '0':130 return int(value, 8)131 return int(value, 10)132 except TypeError:133 self.fail('expected string for int() conversion, got %s of type %s'134 % (value, type(value).__name__), param, ctx)135 except ValueError:136 self.fail('%s is not a valid integer' % value, param, ctx)137138 BASED_INT = BasedIntParamType()
4 unmodified lines