X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FDSC%2FDSC_Python%2Fcalcium.i;h=424dd6a4a9dc0a1ab758f291456645fbeb0c23b4;hb=82668fe5e4d077072402d253497f96d4c53391f9;hp=5e7e7de737def20f724c8d21472df083f7201cfb;hpb=e5867636265822b5e70ca0406c9321ccff264bb0;p=modules%2Fkernel.git diff --git a/src/DSC/DSC_Python/calcium.i b/src/DSC/DSC_Python/calcium.i index 5e7e7de73..424dd6a4a 100644 --- a/src/DSC/DSC_Python/calcium.i +++ b/src/DSC/DSC_Python/calcium.i @@ -1,9 +1,9 @@ -// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -146,7 +146,7 @@ const char* pytype_string(PyObject* py_obj) { if (PyModule_Check( py_obj)) return "module" ; if (PyInstance_Check(py_obj)) return "instance" ; - return "unkown type"; + return "unknown type"; } /* @@ -194,7 +194,7 @@ const char* typecode_string(int typecode) { "unsigned short","int","unsigned int","long","unsigned long", "longlong","unsigned longlong", "float","double","long double","complex float","complex double","complex long double", - "object","string","unicode","void","ntypes","notype","char","unkown"}; + "object","string","unicode","void","ntypes","notype","char","unknown"}; return type_names[typecode]; }