zhikrullah / pyshp

Automatically exported from code.google.com/p/pyshp
MIT License
0 stars 0 forks source link

Docs do not match implementation of balance() #64

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. The following in Python
import shapefile
x = shapefile.Writer('myshapefile')
dir(x)

What is the expected output? What do you see instead?
If one reads https://pypi.python.org/pypi/pyshp#creating-attributes it would be 
expected that the balance() method applies to the Writer class.

What version of the product are you using? On what operating system?
1.2.0, OS X Lion

Please provide any additional information below.
Looking at the source code, balance() is defined for the Editor class. I 
suspect that this method and the autoBalance attribute can both be part of the 
Writer class and inherited by Editor.

Original issue reported on code.google.com by gert...@gmail.com on 19 Feb 2014 at 5:01

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
(whoops; invoked Writer() incorrectly above)

Original comment by gert...@gmail.com on 19 Feb 2014 at 5:29