[python-chinese] 怎么改变形参的值?
katkat lim
limkatkat在gmail.com
星期五 八月 3 10:56:09 HKT 2007
»òÕß˵¿ÉÒÔÓÃlist·â×°Ò»ÏÂÈ»ºó·µ»ØÒ»¸ö¶à¸öÔªËØµÄlistÖµÔٷֱ𸳸ø¶à¸ö±äÁ¿ÒÔ´ïµ½·µ»Ø¶àÖµµÄÄ¿µÄ
ÔÚ07-8-3£¬katkat lim <limkatkat在gmail.com> дµÀ£º
>
> Python¿ÉÒÔ·µ»Ø¶à¸öÖµ¡£
>
> ÔÚ07-8-3£¬ºî»ªÂ¡ <hou_hl在sina.com> дµÀ£º
> >
> > ¹Ø¼üÊÇÒѾÓвÎÊý,Óзµ»ØÖµÁ˰¡
> > fun(str)
> > {
> > return xxx
> > }
> > Ö»ÊÇÏëÔÙ·µ»ØÒ»¸öÖµ
> >
> > ------------------------------
> > ºî»ªÂ¡
> > 2007-08-03
> > ------------------------------
> > *·¢¼þÈË£º* Tian
> > *·¢ËÍʱ¼ä£º* 2007-08-03 10:45:57
> > *ÊÕ¼þÈË£º* python-chinese在lists.python.cn
> > *³ËÍ£º*
> > *Ö÷Ì⣺* Re: [python-chinese]Ôõô¸Ä±äÐβεÄÖµ£¿
> >
> > fun(){
> > return 3
> > }
> >
> > p = fun();
> >
> > ÕâÑù²»ÐÐÂð¡£
> >
> >
> > On 8/3/07, ºî»ªÂ¡ <hou_hl在sina.com> wrote:
> > >
> > > °¥,·´Õý×îºóÎÒÊÇÓÃÁËÒ»¸öglobal±äÁ¿,±È½ÏÓôÃÆ,ËÈÃÔÛÊÇÐÂÊÖ,pythonÓÖûÓÐÖ¸ÕëÄØ...
> > >
> > > ------------------------------
> > > ºî»ªÂ¡
> > > 2007-08-03
> > > ------------------------------
> > > *·¢¼þÈË£º* jinq0123在163.com
> > > *·¢ËÍʱ¼ä£º* 2007-08-03 10:31:06
> > > *ÊÕ¼þÈË£º* python-chinese在lists.python.cn
> > > *³ËÍ£º*
> > > *Ö÷Ì⣺* Re: [python-chinese]Ôõô¸Ä±äÐβεÄÖµ£¿
> > >
> > > °ÑËùÓÐÐβδò³ÉÒ»¸ölist¶ÔÏóÐв»ÐУ¿
> > >
> > > swap_ab([a, b])
> > >
> > > ºî»ªÂ¡ wrote:
> > > > лл~
> > > > ÄÇô°Ñ¶ÔÏó×÷Ϊ²ÎÊýÓ¦¸ÃÔõô±àÂëÄØ£¿pythonµÄº¯ÊýÓÖûÓÐÖÆ¶¨²ÎÊýÀàÐÍ
> > > > ÎÒÊÇpythonÐÂÊÖ£¬Ð»Ð»
> > >
> > > > ------------------------------------------------------------------------
> > > > ºî»ªÂ¡
> > > > 2007-08-01
> > >
> > > > ------------------------------------------------------------------------
> > > > *·¢¼þÈË£º* shily escape
> > > > *·¢ËÍʱ¼ä£º* 2007-08-01 10:56:00
> > > > *ÊÕ¼þÈË£º* python-chinese在lists.python.cn
> > > > *³ËÍ£º*
> > > > *Ö÷Ì⣺* Re: [python-chinese]Ôõô¸Ä±äÐβεÄÖµ£¿
> > > > pythonÓ¦¸ÃÊÇ´«ÖµµÄ·½Ê½,Ò²¾ÍÊÇ˵Ô×ÓÀàÐÍÏñintÊÇ×ö²»µ½´«ÒýÓõÄ, ¶ÔÏóµÄ·½
> > > > ʽӦ¸ÃÊÇ¿ÉÒÔµÄ,¶ÔÏóµÄ´«µÝÓ¦¸ÃÒ²ÊÇ´«Öµ,Ö»ÊǸıäµÄÊǶÔÏóÄÚ²¿µÄ״̬, ¶ø²»
> > > > ÊǸıä¶ÔÏóµÄÒýÓÃ.
> > > >
> > > > ÔÚ07-8-1£¬*ºî»ªÂ¡* <hou_hl在sina.com <mailto: hou_hl在sina.com > > дµÀ£º
> > > >
> > > > ¾ÍÏñcÀïÓÃÖ¸ÕëÒ»Ñù£¿
> > > > /*-------C---------*/
> > > > void fun(int* p)
> > > > {
> > > > *p = 3;
> > > > }
> > > > #python
> > > > ....
> > > > ?
> > > > ÎÒÐÂÊÖ£¬Ð»Ð»´ó¼Ò
> > >
> > > > ------------------------------------------------------------------------
> > > > ºî»ªÂ¡
> > > > 2007-08-01
> > > >
> > > > _______________________________________________
> > > > python-chinese
> > > > Post: send python-chinese在lists.python.cn
> > > > <mailto:python-chinese在lists.python.cn >
> > > > Subscribe: send subscribe to
> > > > python-chinese-request在lists.python.cn
> > > > <mailto:python-chinese-request在lists.python.cn >
> > > > Unsubscribe: send unsubscribe to
> > > > python-chinese-request在lists.python.cn
> > > > <mailto:python-chinese-request在lists.python.cn >
> > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> > > >
> > > >
> > >
> > > > ------------------------------------------------------------------------
> > > >
> > > > _______________________________________________
> > > > python-chinese
> > > > Post: send python-chinese在lists.python.cn
> > > > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > > > Unsubscribe: send unsubscribe to
> > > python-chinese-request在lists.python.cn
> > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> > >
> > >
> > > --
> > > blog: http://blog.csdn.net/jq0123
> > >
> > >
> > >
> > > _______________________________________________
> > > python-chinese
> > > Post: send python-chinese在lists.python.cn
> > > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > > Unsubscribe: send unsubscribe to
> > > python-chinese-request在lists.python.cn
> > > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> > >
> > > _______________________________________________
> > > python-chinese
> > > Post: send python-chinese在lists.python.cn
> > > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > > Unsubscribe: send unsubscribe to
> > > python-chinese-request在lists.python.cn
> > > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> > >
> >
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese在lists.python.cn
> > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> >
>
>
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20070803/2ccb2396/attachment-0001.htm
关于邮件列表 python-chinese 的更多信息