相关疑难解决方法(0)

Python:斜杠在help()输出中意味着什么?

在关闭括号之前/,Python 3.4的help输出意味着什么range

>>> help(range)
Help on class range in module builtins:

class range(object)
 |  range(stop) -> range object
 |  range(start, stop[, step]) -> range object
 |  
 |  Return a virtual sequence of numbers from start to stop by step.
 |  
 |  Methods defined here:
 |  
 |  __contains__(self, key, /)
 |      Return key in self.
 |  
 |  __eq__(self, value, /)
 |      Return self==value.

                                        ...
Run Code Online (Sandbox Code Playgroud)

python introspection python-3.x

119
推荐指数
3
解决办法
2万
查看次数

标签 统计

introspection ×1

python ×1

python-3.x ×1