예제 #1
0
        private static string GetVersionString()
        {
            return(String.Format("{0}{3} ({1}) on .NET {2}",
                                 PythonContext.IronPythonDisplayName,
                                 PythonContext.GetPythonVersion().ToString(),
                                 Environment.Version,
#if DEBUG
                                 " DEBUG"
#else
                                 ""
#endif
                                 ));
        }