diff options
| author | 2024-01-25 17:46:34 +0800 | |
|---|---|---|
| committer | 2024-01-25 17:46:34 +0800 | |
| commit | c4eb3ae7a74c7c6881540d7d04502600197a8b2a (patch) | |
| tree | c920c29c383da4d496a0f646e5d4d0f5de10a406 /docs/RulePackage/getStart/attribute.md | |
| parent | 3c3e121bc845573a2d2408c0db6be6f841fd8efc (diff) | |
| download | infini-c4eb3ae7a74c7c6881540d7d04502600197a8b2a.tar.gz infini-c4eb3ae7a74c7c6881540d7d04502600197a8b2a.zip | |
:fire: feat(docs): remove old documents
Diffstat (limited to 'docs/RulePackage/getStart/attribute.md')
| -rw-r--r-- | docs/RulePackage/getStart/attribute.md | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/docs/RulePackage/getStart/attribute.md b/docs/RulePackage/getStart/attribute.md deleted file mode 100644 index 70deeb06..00000000 --- a/docs/RulePackage/getStart/attribute.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: attribute 属性 ---- - -!!! info - 关联到一个对象的值,通常使用点号表达式按名称来引用。 举例来说,如果对象 o 具有属性 a 则可以用 o.a 来引用它。 - - 如果对象允许,将未被定义为 [标识符和关键字] 的非标识名称用作一个对象的属性也是可以的,例如使用 [setattr()]。 这样的属性将无法使用点号表达式来访问,而是必须通过 [getattr()] 来获取。 - - [标识符和关键字]: https://docs.python.org/zh-cn/3/reference/lexical_analysis.html#identifiers - [setattr()]: https://docs.python.org/zh-cn/3/library/functions.html#setattr - [getattr()]:https://docs.python.org/zh-cn/3/library/functions.html#getattr
\ No newline at end of file |
