From 0061564e7718e8ea3e881030d71736822a3166da Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Fri, 30 Oct 2015 18:58:37 +0100 Subject: Integrate information from the wiki This adds the information that was previously in the Trac wiki into the source docstrings because the Trac instance is being phased out. This also includes small updates to the ISIL module. --- stdnum/imei.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'stdnum/imei.py') diff --git a/stdnum/imei.py b/stdnum/imei.py index 35f76e1..8c0c1a0 100644 --- a/stdnum/imei.py +++ b/stdnum/imei.py @@ -1,7 +1,7 @@ # imei.py - functions for handling International Mobile Equipment Identity # (IMEI) numbers # -# Copyright (C) 2010, 2011, 2012, 2013 Arthur de Jong +# Copyright (C) 2010-2015 Arthur de Jong # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -20,8 +20,12 @@ """IMEI (International Mobile Equipment Identity). -The IMEI is used to identify mobile phones. The IMEI may optionally -include a check digit which is validated using the Luhn algorithm. +The IMEI is used to identify mobile phones. An IMEI is 14, 15 (when the +check digit is included) or 16 digits (IMEISV) long. The check digit is +validated using the Luhn algorithm. + +More information: + https://en.wikipedia.org/wiki/International_Mobile_Equipment_Identity >>> validate('35686800-004141-20') '3568680000414120' -- cgit v1.2.3