8000 Improve get_cc_module() documentation · AmarisAI/python-stdnum@81947a2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 81947a2

Browse files
committed
Improve get_cc_module() documentation
1 parent 5cbba25 commit 81947a2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/index.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,11 @@ Helper functions and modules
6565
particular country. `name` may be an aliased name. For example:
6666

6767
>>> from stdnum import get_cc_module
68-
>>> get_cc_module('nl', 'vat')
68+
>>> mod = get_cc_module('nl', 'vat')
69+
>>> mod
6970
<module 'stdnum.nl.btw' from '...'>
71+
>>> mod.validate('004495445B01')
72+
'004495445B01'
7073

7174
Will return ``None`` if no module could be found. The generic names that
7275
are currently in use:

0 commit comments

Comments
 (0)
0