mirror of https://github.com/python/cpython.git
Conversion.write_ordinal(): Not used, remove it.
This commit is contained in:
parent
691a5a7c09
commit
fed0d09075
|
@ -14,7 +14,6 @@
|
||||||
headers where the table is specified in main(). There is no provision
|
headers where the table is specified in main(). There is no provision
|
||||||
to load an alternate table from an external file.
|
to load an alternate table from an external file.
|
||||||
"""
|
"""
|
||||||
__version__ = '$Revision$'
|
|
||||||
|
|
||||||
import errno
|
import errno
|
||||||
import getopt
|
import getopt
|
||||||
|
@ -114,9 +113,6 @@ def __init__(self, ifp, ofp, table):
|
||||||
self.line = string.join(map(string.rstrip, ifp.readlines()), "\n")
|
self.line = string.join(map(string.rstrip, ifp.readlines()), "\n")
|
||||||
self.preamble = 1
|
self.preamble = 1
|
||||||
|
|
||||||
def write_ordinal(self, ordinal):
|
|
||||||
self.write("-\\%%%d;\n" % ordinal)
|
|
||||||
|
|
||||||
def err_write(self, msg):
|
def err_write(self, msg):
|
||||||
if DEBUG:
|
if DEBUG:
|
||||||
sys.stderr.write(str(msg) + "\n")
|
sys.stderr.write(str(msg) + "\n")
|
||||||
|
|
Loading…
Reference in New Issue