Google Groups

Re: [shlug] Re: [OT]2011年度最佳代码


yang xiaoyong Aug 5, 2011 4:11 AM
Posted in group: Shanghai Linux User Group
In [23]: try:
   ....:     belive_or_not
   ....:     print "I belive"
   ....: except Exception:
   ....:     raise MiracleException("It's a miracle")
   ....: finally:
   ....:     print "It's just happend."
   ....:     
我来个python的 :)

2011/8/5 Xiangfu Liu <xia...@openmobilefree.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/05/2011 12:32 PM, Moore wrote:
> it 没有初始值,而且在 believe 函数里it 没有用到。
>

有注释

> I 也没有初始值,而且全局用不到 char *I.

写的太清楚不太好吧~  :)

- --
Best Regards
Xiangfu Liu
http://www.openmobilefree.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk47enAACgkQRRAEFRxkgLRkHQCgkgRgOX7Ms74b5GyUS+ptjgqs
2SQAoIf/VQM8R8qu7MOiO3g/LG7SEnPK
=94iv
-----END PGP SIGNATURE-----



--

Twitter & weibo: @yangxiaoyong