On Apr 15, 3:52 am, John Machin wrote:
> On Apr 15, 6:13 pm, rahul wrote:
>
>
>
> > On Apr 14, 6:24 pm, John Machin wrote:
>
> > > On Apr 14, 10:35 pm, rahul wrote:
>
> > > > Hi,
> > > > i need to write a 'c extension function' in this function i need to
> > > > change argument value with wh
On Apr 15, 6:13 pm, rahul wrote:
> On Apr 14, 6:24 pm, John Machin wrote:
>
>
>
> > On Apr 14, 10:35 pm, rahul wrote:
>
> > > Hi,
> > > i need to write a 'c extension function' in this function i need to
> > > change argument value with which this function called.
>
> > The appropriate way fo
On Apr 14, 6:24 pm, John Machin wrote:
> On Apr 14, 10:35 pm, rahul wrote:
>
> > Hi,
> > i need to write a 'c extension function' in this function i need to
> > change argument value with which this function called.
>
> The appropriate way for a function to give output is to return a
> value,
rahul writes:
> Hi,
> i need to write a 'c extension function' in this function i need to
> change argument value with which this function called.
> ie,
> if a python code like
> import changeValue as c
> arg="old value"
> c.changeValue(arg)
>
On Apr 14, 10:35 pm, rahul wrote:
> Hi,
> i need to write a 'c extension function' in this function i need to
> change argument value with which this function called.
The appropriate way for a function to give output is to return a
value, or a tuple of values.
example:
def get_next_token(inp
Hi,
i need to write a 'c extension function' in this function i need to
change argument value with which this function called.
ie,
if a python code like
import changeValue as c
arg="old value"
c.changeValue(arg)
print arg
then it print