[SOT] Rename StringifyGuard
to StringifiedGuard
#65648
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Category
Execute Infrastructure
PR Types
Not User Facing
Description
StringifyGuard
并不合适,因为应该是字符串化「的」guard 而不是字符串化这个过程,因此修改为StringifiedGuard
,确保语法上是正确的另外还有一个候选词
stringize
,比如在 Python 对于类型提示的字符串化描述相关文档中常用该词(如 Annotations Best Practices),但该词貌似并不常用(至少 ChatGPT 是这么说的……),因此还是选择了stringify
PCard-66972