From 81947a26fffab3075b51a15f63844b9f89ef318e Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Mon, 19 Feb 2018 21:30:25 +0100 Subject: Improve get_cc_module() documentation --- docs/index.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 + >>> mod.validate('004495445B01') + '004495445B01' Will return ``None`` if no module could be found. The generic names that are currently in use: -- cgit v1.2.3