w3.org文档中提到的XML文档引用的规范性和非规范性意味着什么?它真的没有解释,只是假设我们知道它意味着什么.谢谢.
你能解释一下为什么'hello world'不会在下面退回吗?我需要修改什么才能在调用时正确表达?谢谢.
>>> class MyClass:
... i=12345
... def f(self):
... return 'hello world'
...
>>> x=MyClass()
>>> x.i
12345
>>> x.f
<bound method MyClass.f of <__main__.MyClass instance at 0x060100F8>>
Run Code Online (Sandbox Code Playgroud)