1
Vote

Duplicate doc comments

description

For the PySerial package, if I look at the tooltip for serial.Serial.bytesize, I can see duplicate comments. I don't know if these come from 2 different places and are merged together. If that is the case, then they should be compared before being merged, so that if they are identical, we ignore the second copy.
import serial
serial.Serial.bytesize
Image

file attachments

comments

Zooba wrote Sep 6, 2013 at 10:23 PM

This is probably due to incorrectly handling people who call property directly (rather than using the decorator).

It may also be because Serial.bytesize is a descriptor - Serial().bytesize correctly shows the doc once.