From 95652a0d7cd6449af18e052d2a085a01ba5a31ea Mon Sep 17 00:00:00 2001 From: Andrei Paskevich Date: Tue, 31 Jan 2017 11:49:13 +0100 Subject: [PATCH] Python: capitalize_ascii is not supported in older versions of OCaml --- plugins/python/py_main.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/python/py_main.ml b/plugins/python/py_main.ml index cdc781226..accb016a3 100644 --- a/plugins/python/py_main.ml +++ b/plugins/python/py_main.ml @@ -243,7 +243,7 @@ let read_channel env path file c = Debug.dprintf debug "%s parsed successfully.@." file; let file = Filename.basename file in let file = Filename.chop_extension file in - let name = String.capitalize_ascii file in + let name = String.capitalize file in Debug.dprintf debug "building module %s.@." name; let inc = Mlw_typing.open_file env path in inc.open_module (mk_id name);