lists.arthurdejong.org
RSS feed

python-stdnum branch master updated. 1.11-47-g7f3dcf0

[Date Prev][Date Next] [Thread Prev][Thread Next]

python-stdnum branch master updated. 1.11-47-g7f3dcf0



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-stdnum".

The branch, master has been updated
       via  7f3dcf05cfc0bf2a4deeb656c20929c9527ff95e (commit)
      from  54218b11fdd238dae495a24ceee5f72e7d52b3be (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://arthurdejong.org/git/python-stdnum/commit/?id=7f3dcf05cfc0bf2a4deeb656c20929c9527ff95e

commit 7f3dcf05cfc0bf2a4deeb656c20929c9527ff95e
Author: Gerard Dalmau <gddalmau@gmail.com>
Date:   Wed Oct 16 20:53:01 2019 +0200

    Improve descriptions of Spanish codes
    
    Closes https://github.com/arthurdejong/python-stdnum/pull/169

diff --git a/stdnum/es/cif.py b/stdnum/es/cif.py
index 982cdff..395db81 100644
--- a/stdnum/es/cif.py
+++ b/stdnum/es/cif.py
@@ -18,12 +18,16 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 # 02110-1301 USA
 
-"""CIF (Certificado de Identificación Fiscal, Spanish company tax number).
+"""CIF (Código de Identificación Fiscal, Spanish company tax number).
 
 The CIF is a tax identification number for legal entities. It has 9 digits
 where the first digit is a letter (denoting the type of entity) and the
 last is a check digit (which may also be a letter).
 
+More information
+
+* https://es.wikipedia.org/wiki/Código_de_identificación_fiscal
+
 >>> validate('J99216582')
 'J99216582'
 >>> validate('J99216583')  # invalid check digit
diff --git a/stdnum/es/cups.py b/stdnum/es/cups.py
index 895bcc2..cbbcacd 100644
--- a/stdnum/es/cups.py
+++ b/stdnum/es/cups.py
@@ -19,7 +19,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 # 02110-1301 USA
 
-"""CUPS (Código Unificado de Punto de Suministro, Supply Point Unified Code)
+"""CUPS (Código Unificado de Punto de Suministro, Spanish meter point number).
 
 CUPS codes are used in Spain as unique identifier for energy supply points.
 They are used both for electricity and pipelined gas.
diff --git a/stdnum/es/dni.py b/stdnum/es/dni.py
index d255efd..379ac2f 100644
--- a/stdnum/es/dni.py
+++ b/stdnum/es/dni.py
@@ -18,7 +18,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 # 02110-1301 USA
 
-"""DNI (Documento nacional de identidad, Spanish personal identity codes).
+"""DNI (Documento Nacional de Identidad, Spanish personal identity codes).
 
 The DNI is a 9 digit number used to identify Spanish citizens. The last
 digit is a checksum letter.
diff --git a/stdnum/es/nie.py b/stdnum/es/nie.py
index 1bd2325..0c0a73b 100644
--- a/stdnum/es/nie.py
+++ b/stdnum/es/nie.py
@@ -18,12 +18,16 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 # 02110-1301 USA
 
-"""NIE (Número de Identificación de Extranjeros, Spanish foreigner number).
+"""NIE (Número de Identificación de Extranjero, Spanish foreigner number).
 
 The NIE is an identification number for foreigners. It is a 9 digit number
 where the first digit is either X, Y or Z and last digit is a checksum
 letter.
 
+More information:
+
+* https://es.wikipedia.org/wiki/N%C3%BAmero_de_identidad_de_extranjero
+
 >>> validate('x-2482300w')
 'X2482300W'
 >>> validate('x-2482300a')  # invalid check digit
diff --git a/stdnum/es/nif.py b/stdnum/es/nif.py
index af7e1f4..76f0570 100644
--- a/stdnum/es/nif.py
+++ b/stdnum/es/nif.py
@@ -23,9 +23,9 @@
 The Spanish VAT number is a 9-digit number where either the first, last
 digits or both can be letters.
 
-The number is either a DNI (Documento nacional de identidad, for
-Spaniards), a NIE (Número de Identificación de Extranjeros, for
-foreigners) or a CIF (Certificado de Identificación Fiscal, for legal
+The number is either a DNI (Documento Nacional de Identidad, for
+Spaniards), a NIE (Número de Identificación de Extranjero, for
+foreigners) or a CIF (Código de Identificación Fiscal, for legal
 entities and others).
 
 >>> compact('ES B-58378431')

-----------------------------------------------------------------------

Summary of changes:
 stdnum/es/cif.py  | 6 +++++-
 stdnum/es/cups.py | 2 +-
 stdnum/es/dni.py  | 2 +-
 stdnum/es/nie.py  | 6 +++++-
 stdnum/es/nif.py  | 6 +++---
 5 files changed, 15 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
python-stdnum