You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+24-10
Original file line number
Diff line number
Diff line change
@@ -29,24 +29,24 @@ Puedes instalar la librería utilizando pip:
29
29
### Importar la clase Rut
30
30
31
31
```python
32
-
from*****import Rut
32
+
fromrutificadorimport Rut
33
33
```
34
34
35
35
## Crear Un Objeto
36
36
37
37
```python
38
38
rut1 = Rut('12345678-5')
39
-
rut2 = Rut('12345670-k')
39
+
rut2 = Rut('12.345.670')
40
40
```
41
41
42
42
## Validar un RUT
43
43
44
-
La validación del RUT se realiza automáticamente al crear un objeto `Rut`. Si el RUT ingresado no es válido, se lanzará una excepción `RutInvalidoError`.
44
+
La validación del RUT se realiza automáticamente al crear un objeto `Rut`. La clase 'Rut' acepta RUTs con y sin dígito verificador así como RUTs con y sin separador de miles. Si el RUT ingresado no es válido, se lanzará una excepción `RutInvalidoError`.
0 commit comments