mirror of
https://github.com/bblaz/num2words.git
synced 2025-12-06 06:42:25 +00:00
Fix encoding-based syntax error
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding: utf-8 -*-
|
||||||
'''
|
'''
|
||||||
Module: num2word_FR.py
|
Module: num2word_FR.py
|
||||||
Requires: num2word_EU.py
|
Requires: num2word_EU.py
|
||||||
@@ -72,8 +73,8 @@ class Num2Word_FR(Num2Word_EU):
|
|||||||
return ("%s %s"%(ctext, ntext), cnum + nnum)
|
return ("%s %s"%(ctext, ntext), cnum + nnum)
|
||||||
|
|
||||||
|
|
||||||
# Is this right for such things as 1001 - "mille uni<EFBFBD>me" instead of
|
# Is this right for such things as 1001 - "mille unième" instead of
|
||||||
# "mille premier"?? "milli<EFBFBD>me"??
|
# "mille premier"?? "millième"??
|
||||||
|
|
||||||
def to_ordinal(self,value):
|
def to_ordinal(self,value):
|
||||||
self.verify_ordinal(value)
|
self.verify_ordinal(value)
|
||||||
|
|||||||
Reference in New Issue
Block a user