diff options
| author | 2023-10-07 06:48:07 +0800 | |
|---|---|---|
| committer | 2023-10-07 06:48:07 +0800 | |
| commit | 991fd7a6d67ee017c57beaaa21fc31c4bee7944d (patch) | |
| tree | e895202203fcaa50b0052f60ef6fc7d6d2928cf9 /docs/RulePackage/getStart/method.md | |
| parent | d62900046bb6f754a8e6e7e670a66a90134055d9 (diff) | |
| download | infini-991fd7a6d67ee017c57beaaa21fc31c4bee7944d.tar.gz infini-991fd7a6d67ee017c57beaaa21fc31c4bee7944d.zip | |
feat(version): versions
Diffstat (limited to 'docs/RulePackage/getStart/method.md')
| -rw-r--r-- | docs/RulePackage/getStart/method.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/RulePackage/getStart/method.md b/docs/RulePackage/getStart/method.md new file mode 100644 index 00000000..00e58149 --- /dev/null +++ b/docs/RulePackage/getStart/method.md @@ -0,0 +1,10 @@ +--- +title: method 方法 +--- + +!!! info + 在类内部定义的函数。如果作为该类的实例的一个属性来调用,方法将会获取实例对象作为其第一个 [argument] (通常命名为 self)。参见 [function] 和 [nested scope]。 + + [argument]: https://docs.python.org/zh-cn/3/glossary.html#term-argument + [function]: https://docs.python.org/zh-cn/3/glossary.html#term-function + [nested scope]:https://docs.python.org/zh-cn/3/glossary.html#term-nested-scope
\ No newline at end of file |
