[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Quick Q: how do I quote a line from a program inline?
If you're using DocBook v4.3, you can mark those up with the <code> element - http://docbook.org/tdg/en/html/code.html ...its call signature is <code language='Python'>self, spec=None</code> Jean Jordaan <jean@upfrontsystems.co.za> writes: > .. also a couple of other small ones .. > > <para> ... its call > signature is > <literal>self, spec=None</literal>. Knowing Python, you can tell that > <literal>self</literal> is the object instance the method is being called > on, > and is passed automatically by Python, and that > <literal>spec</literal> is an optional keyword argument. Most importantly, > perhaps, you know > <emphasis>which</emphasis> > <methodname>objectValues</methodname> is being called (there are four in > total).</para> > > Those <literal> elements are wrong, but I can't think what I should > replace them with. Any suggestions from the masters? > > Regards,
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]