Typos: user-facing and trivial
Several typos and uniformity fixes. Note: *SCL/SimpleDataTypes.py is a upstream stepcode file whose fiz has been submitted upstream and accepted. *the header of Tools/generateBase/generateMetaModel_Module.xsd had redundant data. It has been removed. Please double check it.
This commit is contained in:
@@ -185,7 +185,7 @@ class BINARY(str):
|
||||
self._fixed = fixed
|
||||
# Check implicit width
|
||||
if (width!=-1) and not fixed:
|
||||
raise ValueError("The 'width' parameter is passed but 'fixed' is still false. Please explicitely set 'fixed' to True to avoid implicit declaration")
|
||||
raise ValueError("The 'width' parameter is passed but 'fixed' is still false. Please explicitly set 'fixed' to True to avoid implicit declaration")
|
||||
# First check the string length if 'fixed' is set to True
|
||||
if fixed:
|
||||
if len(value) != width:
|
||||
|
||||
Reference in New Issue
Block a user