diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2018-02-19 21:30:25 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2018-02-19 21:30:25 +0100 |
commit | 81947a26fffab3075b51a15f63844b9f89ef318e (patch) | |
tree | bb70d0ada0645a8952dd8a0c501a623401f00455 | |
parent | 5cbba25f9267c37450a04b72bc0f2f1e7ae8e37a (diff) |
Improve get_cc_module() documentation
-rw-r--r-- | docs/index.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/index.rst b/docs/index.rst index aa769d1..732be93 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -65,8 +65,11 @@ Helper functions and modules particular country. `name` may be an aliased name. For example: >>> from stdnum import get_cc_module - >>> get_cc_module('nl', 'vat') + >>> mod = get_cc_module('nl', 'vat') + >>> mod <module 'stdnum.nl.btw' from '...'> + >>> mod.validate('004495445B01') + '004495445B01' Will return ``None`` if no module could be found. The generic names that are currently in use: |