Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78818

Re: ruby instance variable in python

X-Received by 10.236.15.167 with SMTP id f27mr4596131yhf.37.1412729985628; Tue, 07 Oct 2014 17:59:45 -0700 (PDT)
X-Received by 10.50.61.132 with SMTP id p4mr267319igr.1.1412729985495; Tue, 07 Oct 2014 17:59:45 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!s7no1173898qap.0!news-out.google.com!bc9ni17237igb.0!nntp.google.com!h18no2975544igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Tue, 7 Oct 2014 17:59:44 -0700 (PDT)
In-Reply-To <qotzjd8nj3d.fsf@ruuvi.it.helsinki.fi>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=101.171.170.143; posting-account=5Cd8QAoAAAC6AxpkrISTgUBJ9ktgwNBm
NNTP-Posting-Host 101.171.170.143
References <mailman.14632.1412590002.18130.python-list@python.org> <b22416b5-e3ed-4ece-aeba-65603fff1b3f@googlegroups.com> <qotzjd8nj3d.fsf@ruuvi.it.helsinki.fi>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <48972e63-c980-4025-a624-cda0b60367de@googlegroups.com> (permalink)
Subject Re: ruby instance variable in python
From flebber <flebber.crue@gmail.com>
Injection-Date Wed, 08 Oct 2014 00:59:45 +0000
Content-Type text/plain; charset=ISO-8859-1
X-Received-Bytes 1413
X-Received-Body-CRC 259767748
Xref csiph.com comp.lang.python:78818

Show key headers only | View raw


I thought that it was a shortcut in ruby to negate the other option of providing another default .

I don't greatly know ruby but took a guess after reading examples here 
https://blog.neowork.com/ruby-shortcuts

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

ruby instance variable in python roro codeath <rorocodeath@gmail.com> - 2014-10-06 18:06 +0800
  Re: ruby instance variable in python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-07 05:54 +1100
  Re: ruby instance variable in python flebber <flebber.crue@gmail.com> - 2014-10-07 05:29 -0700
    Re: ruby instance variable in python Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2014-10-07 15:46 +0300
      Re: ruby instance variable in python flebber <flebber.crue@gmail.com> - 2014-10-07 17:59 -0700
        Re: ruby instance variable in python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-08 12:32 +1100
          Re: ruby instance variable in python flebber <flebber.crue@gmail.com> - 2014-10-08 03:12 -0700

csiph-web