From fb0b35e05f772bd415fe264267bbbcde2e0accda Mon Sep 17 00:00:00 2001 From: Antoine Coeur Date: Wed, 6 Feb 2019 15:44:39 +0800 Subject: BaseTools: Various typo Various typo in BaseTools. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Coeur Reviewed-by: Liming Gao --- BaseTools/Source/Python/UPT/Library/StringUtils.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'BaseTools/Source/Python/UPT/Library/StringUtils.py') diff --git a/BaseTools/Source/Python/UPT/Library/StringUtils.py b/BaseTools/Source/Python/UPT/Library/StringUtils.py index a3391daa91..6fa1ee89d4 100644 --- a/BaseTools/Source/Python/UPT/Library/StringUtils.py +++ b/BaseTools/Source/Python/UPT/Library/StringUtils.py @@ -33,7 +33,7 @@ gMACRO_PATTERN = re.compile("\$\(([_A-Z][_A-Z0-9]*)\)", re.UNICODE) ## GetSplitValueList # -# Get a value list from a string with multiple values splited with SplitTag +# Get a value list from a string with multiple values split with SplitTag # The default SplitTag is DataType.TAB_VALUE_SPLIT # 'AAA|BBB|CCC' -> ['AAA', 'BBB', 'CCC'] # @@ -67,7 +67,7 @@ def MergeArches(Dict, Key, Arch): # Return False if invalid format # # @param String: String with DEFINE statement -# @param Arch: Supportted Arch +# @param Arch: Supported Arch # @param Defines: DEFINE statement to be parsed # def GenDefines(String, Arch, Defines): @@ -236,7 +236,7 @@ def ReplaceMacro(String, MacroDefinitions=None, SelfReplacement=False, Line=None ## NormPath # # Create a normal path -# And replace DFEINE in the path +# And replace DEFINE in the path # # @param Path: The input value for Path to be converted # @param Defines: A set for DEFINE statement @@ -613,9 +613,9 @@ def WorkspaceFile(WorkspaceDir, Filename): ## Split string # -# Revmove '"' which startswith and endswith string +# Remove '"' which startswith and endswith string # -# @param String: The string need to be splited +# @param String: The string need to be split # def SplitString(String): if String.startswith('\"'): @@ -734,7 +734,7 @@ def IsHexDigit(Str): return False return False -## Check if the string is HexDgit and its interger value within limit of UINT32 +## Check if the string is HexDgit and its integer value within limit of UINT32 # # Return true if all characters in the string are digits and there is at # least one character -- cgit v1.2.3