wizardforcel
Python 核心编程 第二版

Updated 3 years ago

帅老三 (@shuailaosan) started discussion #12

3 years ago · 0 comments

Open

Python还提供了一个机制,可以通过__doc__特别变量,动态获得文档字串。在模块、类声明、或函数声明中第一个没有赋值的字符串可以用属性obj.__doc__来进行访问,其中obj是一个模块、类、或函数的名字。这在运行时也可以进行!

第3章 Python基础 (Edit this file)

attention

No description provided.

No comments on this discussion.


to join this conversation on GitBook. Already have an account? Sign in to comment
Notifications

You’re not receiving notifications from this thread.


1 participant