From 991fd7a6d67ee017c57beaaa21fc31c4bee7944d Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Sat, 7 Oct 2023 06:48:07 +0800 Subject: feat(version): versions --- docs/RulePackage/getStart/method.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docs/RulePackage/getStart/method.md (limited to 'docs/RulePackage/getStart/method.md') 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 -- cgit v1.2.3-70-g09d2