Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/no/orgnr.py
Commit message (Collapse)AuthorAgeFilesLines
* Add documentation for Norwegian OrganisasjonsnummerArthur de Jong2021-10-031-0/+5
|
* Use an internal isdigits() function instead of str.isdigit()Arthur de Jong2019-04-291-2/+2
| | | | | | | | | | | The problem with the latter is that it will also accept all kinds of unicode digits that are not the ASCII 0-9 digits causing all kinds of problems in check digit calculations. Some of these unicode characters are also considered digits by int() but some are not (such as the SUPERSCRIPT TWO unicode character). Closes https://github.com/arthurdejong/python-stdnum/issues/96
* Docstring improvementsArthur de Jong2017-09-111-5/+4
|
* Use zip() instead of enumerate()Arthur de Jong2015-10-051-1/+1
| | | | Makes the code slightly simpler and more compact.
* Add support for Norwegian organisation and VAT numbersTuomas Toivonen2015-04-171-0/+79
This commit also includes changes from Tomas Thor Jonsson <benregn@gmail.com>.