Ignore:
Timestamp:
02/19/14 16:16:49 (10 years ago)
Author:
pinsard
Message:

fix thanks to coding rules; typo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/aeres/scripts/build_firstname_id.py

    r325 r352  
    11#!/usr/bin/env python 
    2 # -*- coding: iso-8859-1 -*- 
     2# -*- coding: utf-8 -*- 
    33 
    44""" 
     
    1111=========== 
    1212 
    13 generation de la partie "prénom" de l'id : 
    14  - suppress blanks 
    15  - suppress punctation 
    16  - replace diacritals by their non-diacriticals equivalent (ie ï become i) 
     13génération de la partie "prénom" de l'id : 
     14 
     15- suppress blanks 
     16- suppress punctation 
     17- replace diacriticals by their non-diacriticals equivalent (ie ï become i) 
    1718 
    1819SEE ALSO 
     
    2829cf. doctest 
    2930 
    30 :: 
     31.. code-block:: bash 
    3132 
    32     python -v build_firstname_id 
     33   python -v build_firstname_id 
    3334 
    3435TODO 
     
    7576    >>> firstname 
    7677    [u' Ginette', u'Gin ette ', u"G\'in ette "] 
    77     >>> firstname.append(u"Gïnette") 
     78    >>> firstname.append(u"Gïnette") 
    7879    >>> firstname 
    7980    [u' Ginette', u'Gin ette ', u"G'in ette ", u'G\xefnette'] 
     
    134135        import sys 
    135136        sys.exit(1) 
    136     
     137 
Note: See TracChangeset for help on using the changeset viewer.