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


Groups > comp.lang.python > #85246

Re: Indentation issues with python

From Terry Reedy <tjreedy@udel.edu>
Subject Re: Indentation issues with python
Date 2015-02-04 23:37 -0500
References <CAHc+NX2bXHPMOZCPz2T3XBk5q8GsmMBDVQsNS93Yymb6_pMd+Q@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.18484.1423111054.18130.python-list@python.org> (permalink)

Show all headers | View raw


> class EventHubClient(object):  ...
> def sendMessage(self,body,partition):
...
 > ^
> IndentationError: expected an indented block
> ***********************************************************************

and 'def' is not indented as it must be.  This must be covered in the 
tutorial.

-- 
Terry Jan Reedy

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


Thread

Re: Indentation issues with python Terry Reedy <tjreedy@udel.edu> - 2015-02-04 23:37 -0500

csiph-web