isLouisHsu / isLouisHsu/isLouisHsu.github.io
Python函数静态变量 | LOUIS' BLOG
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 4
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
https://louishsu.xyz/2020/06/08/Python%E5%87%BD%E6%95%B0%E9%9D%99%E6%80%81%E5%8F%98%E9%87%8F/
目录 目录 Reference Python函数无法通过static关键词定义静态变量,如C/C++中123456void foo(){ static int counter = 0; counter++; printf("counter is %d\n", counter);} 注意到Python的特性,函数也是一种对象12345678910>>
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked Python article and inspect the repository's existing blog-post structure. The issue does not name a file, requested change, or acceptance criteria, so clarify whether the article should be added, corrected, translated, or otherwise changed before defining what done means.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- content, documentation
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100