python注释样本

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
def select_proxy(url, proxies):
"""Select a proxy for the url, if applicable.

:param url: The url being for the request #参数
:param proxies: A dictionary of schemes or schemes and hosts to proxy URLs

:rtype: dict #返回值
"""


def twoSum(self, nums, target):
"""
:type nums: List[int]
:type target: int
:rtype: List[int]
"""