pages*: use " " instead of "=" to separate the options from their arguments, aria2c: fix example (#12726)

This commit is contained in:
Sebastiaan Speck
2024-05-05 13:24:48 +02:00
committed by GitHub
parent 2ecc25e812
commit e06b054c72
38 changed files with 85 additions and 85 deletions

View File

@@ -13,11 +13,11 @@
- 특정 파이썬 2 기능을 파이썬 3로 변경 (아래는 raw_input과 print를 수정하는 예):
`2to3 --write {{경로/파일.py}} --fix={{raw_input}} --fix={{print}}`
`2to3 --write {{경로/파일.py}} --fix {{raw_input}} --fix {{print}}`
- 특정 기능을 제외한 모든 파이썬 2 기능을 파이썬 3로 변경:
`2to3 --write {{경로/파일.py}} --nofix={{has_key}} --nofix={{isinstance}}`
`2to3 --write {{경로/파일.py}} --nofix {{has_key}} --nofix {{isinstance}}`
- 파이썬 2 에서 파이썬 3 로 변환할 수 있는 목록을 출력:
@@ -25,8 +25,8 @@
- 디렉토리 안의 모든 파이썬 2 파일을 파이썬 3로 변경:
`2to3 --output-dir={{파이썬3/디렉토리/경로}} --write-unchanged-files --nobackups {{파이썬2/디렉토리/경로}}`
`2to3 --output-dir {{파이썬3/디렉토리/경로}} --write-unchanged-files --nobackups {{파이썬2/디렉토리/경로}}`
- 2to3을 멀티쓰레드로 실행:
`2to3 --processes={{4}} --output-dir={{파이썬3/디렉토리/경로}} --write --nobackups --no-diff {{파이썬2/디렉토리/경로}}`
`2to3 --processes {{4}} --output-dir {{파이썬3/디렉토리/경로}} --write --nobackups --no-diff {{파이썬2/디렉토리/경로}}`