diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2015-10-30 18:58:37 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2015-10-30 19:02:39 +0100 |
commit | 0061564e7718e8ea3e881030d71736822a3166da (patch) | |
tree | 1cc094cb3d5c65b726c108c8b78e82972a506904 /stdnum/imei.py | |
parent | 96c8151e07e5800f8396d10778615024e61abc6f (diff) |
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.
Diffstat (limited to 'stdnum/imei.py')
-rw-r--r-- | stdnum/imei.py | 10 |
1 files changed, 7 insertions, 3 deletions
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' |