mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00
Conversion.write_ordinal(): Not used, remove it.
This commit is contained in:
parent
691a5a7c09
commit
fed0d09075
1 changed files with 0 additions and 4 deletions
|
@ -14,7 +14,6 @@ The format of the table is largely undocumented; see the commented
|
||||||
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 @@ class Conversion:
|
||||||
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…
Add table
Add a link
Reference in a new issue