Python文档问题 [英] Python documentation problem

查看:53
本文介绍了Python文档问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Python文档,
http:// python.org/doc/2.4.1/lib/typesfunctions.html


-----------------

2.3.10.3函数


函数对象由函数定义创建。对函数对象唯一的

操作就是调用它:func(argument-list)。


实际上有两种函数对象:在函数中

和用户定义的函数。两者都支持相同的操作(调用

函数),但实现方式不同,因此不同的

对象类型。


有关详细信息,请参阅Python参考手册。

-----------------


他妈的python doc浪费了我的时间。他妈的python程序员。

每次我试图使用python doc并感到沮丧,因为它是非常无能的,我会发布这样的消息,不再频繁

比一周一次。这将持续很长时间python社区

没有什么可以解决它或我仍然在python中编码。

作为参考,请参阅
http://xahlee.org/perl-python/re-write_notes.html


Xah
xa*@xahlee.org

A ?? http://xahlee.org/

解决方案

Xah Lee写道:

他妈的python doc浪费了我的时间。他妈的python程序员。




用你的话!


-

Erik Max Francis& ;&安培; ma*@alcyone.com && http://www.alcyone.com/max/

美国加利福尼亚州圣何塞市&& 37 20 N 121 53 W&& AIM erikmaxfrancis

心灵不是要装满的船只,而是要点火。

- 普鲁塔克


< blockquote>我想知道Python是否支持eval。例如


somecode =''3 + 4''

print eval(somecode)#print 7

在140页的python doc中,我应该在哪里找到这个

信息?


Xah
xa*@xahlee.org

a ?? http://xahlee.org/


Xah Lee于18/06/2005 03:49对世界说:

Python文档,
http://python.org/doc/2.4.1/lib/typesfunctions.html

-----------------
2.3.10.3函数

函数对象由函数定义创建。对函数对象的唯一操作就是调用它:func(argument-list)。

实际上有两种函数对象:内置函数
和用户 - 定义的功能。两者都支持相同的操作(调用函数),但实现方式不同,因此对象类型不同。

有关详细信息,请参阅Python参考手册。那个-----------------

他妈的python doc浪费了我的时间。他妈的python程序员。
每次我试图使用python doc并因为它非常无能而感到沮丧时,我会发布这样的消息,不会比每周一次更频繁
。这将持续很长时间python社区没有什么可以解决它或我仍在编码python。
作为参考,请参阅
http://xahlee.org/perl-python/re-write_notes.html
Xah
xa*@xahlee.org
http://xahlee.org/




我相信我会在早上后悔。 。 。 。


Xah,因为文档是社区的努力,你肯定可以(并且有)

指向真正的瑕疵。


然而,我无法理解感知问题

在这里。 5个短句,一个定义一个术语,一个规定了

界面,两个指出并清除了造成混淆的潜在原因和一个参考。一切都很清楚,并且在

内容上得分很高:单词测量开机。 (当然,它比你或我在这里添加的文字更清晰,更有价值。)你的投诉是什么?
?诅咒不够?


最好,

Brian vdB


Python documentation,
http://python.org/doc/2.4.1/lib/typesfunctions.html

-----------------
2.3.10.3 Functions

Function objects are created by function definitions. The only
operation on a function object is to call it: func(argument-list).

There are really two flavors of function objects: built-in functions
and user-defined functions. Both support the same operation (to call
the function), but the implementation is different, hence the different
object types.

See the Python Reference Manual for more information.
-----------------

Fuck the python doc wasted my time. Fuck python coders.
Each time i tried to use python doc and got frustrated because it being
grossly incompetent, i''ll post a message like this, no more frequent
than once a week. This will go on as long the python community does
nothing to fix it or that i remain coding in python.
For reference, see
http://xahlee.org/perl-python/re-write_notes.html

Xah
xa*@xahlee.org
a?? http://xahlee.org/

解决方案

Xah Lee wrote:

Fuck the python doc wasted my time. Fuck python coders.



Use your words!

--
Erik Max Francis && ma*@alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
The mind is not a vessel to be filled but a fire to be kindled.
-- Plutarch


i wanted to find out if Python supports eval. e.g.

somecode=''3+4''
print eval(somecode) # prints 7

in the 14 hundred pages of python doc, where am i supposed to find this
info?

Xah
xa*@xahlee.org
a?? http://xahlee.org/


Xah Lee said unto the world upon 18/06/2005 03:49:

Python documentation,
http://python.org/doc/2.4.1/lib/typesfunctions.html

-----------------
2.3.10.3 Functions

Function objects are created by function definitions. The only
operation on a function object is to call it: func(argument-list).

There are really two flavors of function objects: built-in functions
and user-defined functions. Both support the same operation (to call
the function), but the implementation is different, hence the different
object types.

See the Python Reference Manual for more information.
-----------------

Fuck the python doc wasted my time. Fuck python coders.
Each time i tried to use python doc and got frustrated because it being
grossly incompetent, i''ll post a message like this, no more frequent
than once a week. This will go on as long the python community does
nothing to fix it or that i remain coding in python.
For reference, see
http://xahlee.org/perl-python/re-write_notes.html

Xah
xa*@xahlee.org
a?? http://xahlee.org/



I''m sure I will regret this in the morning . . . .

Xah, since the docs are a community effort, you surely can (and have)
pointed to genuine blemishes in them.

I am however at a loss to understand just what the perceived problem
is here. 5 short sentences, one defining a term, 1 stipulating the
interface, two pointing out and clearing up a potential cause of
confusion, and a reference. All are clear, and score quite well on the
content:words measure to boot. (Certainly it is clearer and more
informative than the words either you or I have here added.) What''s
your complaint? Not enough cursing?

Best,

Brian vdB


这篇关于Python文档问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆