Skip to content

Commit 30a590f

Browse files
committed
Modify Readme
1 parent 857c1d6 commit 30a590f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ cos最新可用地域,参照https://www.qcloud.com/document/product/436/6224
2727
.. code:: python
2828
2929
# 设置用户属性, 包括appid, secret_id, secret_key, region
30-
appid = '100000' # 替换为用户的appid
30+
appid = '100000' # 替换为用户的appid
3131
secret_id = 'xxxxxxxx' # 替换为用户的secret_id
3232
secret_key = 'xxxxxxx' # 替换为用户的secret_key
33-
  region = 'ap-beiging-1'    # 替换为用户的region
34-
token = '' # 使用临时秘钥需要传入Token,默认为空,可不填
33+
  region = 'ap-beiging-1'   # 替换为用户的region
34+
token = '' # 使用临时秘钥需要传入Token,默认为空,可不填
3535
config = CosConfig(Appid=appid, Region=region, Access_id=secret_id, Access_key=secret_key, Token=token) #获取配置对象
3636
client = CosS3Client(config) #获取客户端对象
3737

0 commit comments

Comments
 (0)