mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
change the locale in the test script for the Python binding
This commit is contained in:
@@ -2,6 +2,7 @@ import pgf
|
||||
import sys
|
||||
import sets
|
||||
import readline
|
||||
import locale
|
||||
|
||||
sys.stdout.write("loading...")
|
||||
sys.stdout.flush();
|
||||
@@ -42,6 +43,7 @@ class Completer():
|
||||
completer = Completer(source_lang)
|
||||
readline.set_completer(completer.complete)
|
||||
readline.parse_and_bind("tab: complete")
|
||||
locale.setlocale(locale.LC_CTYPE, "")
|
||||
|
||||
while True:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user