[GRASS-dev] sphinx python documentation
Vaclav Petras
wenzeslaus at gmail.com
Fri May 30 10:57:46 PDT 2014
On Tue, May 27, 2014 at 3:58 AM, Luca Delucchi <lucadeluge at gmail.com> wrote:
> [0] http://grass.osgeo.org/grass71/manuals/pygrass/index.html
>
http://grass.osgeo.org/grass71/manuals/pygrass/raster_elements.html#pygrass.raster.category.Category.set_cats_fmt
Luca, can you please add the >>> button which is in Python documentation
for the examples with Python command line. I mean a button to convert this:
>>> n = -37
>>> bin(n)
'-0b100101'
>>> n.bit_length()
6
into this:
n = -37
bin(n)
n.bit_length()
https://docs.python.org/2/library/stdtypes.html#long.bit_length
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140530/bacbb745/attachment.html>
More information about the grass-dev
mailing list