isLouisHsu / isLouisHsu/isLouisHsu.github.io

Python函数静态变量 | LOUIS' BLOG

Open
#68 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

d13d91a7ed654cf7e16a6b35728ffee3 Gitalk
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>&gt

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.