➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 terry.reedy
收信人 BreamoreBoy, LambertDW, belopolsky, dalloliogm, rhettinger, terry.reedy, tim.peters
日期 2014-06-27.20:11:16
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1403899876.85.0.418576991907.issue4899@psf.upfronthosting.co.za>
In-reply-to
内容
I am closing this for both the general reasons already given and the lack of a proposed api that could programmed, Hence there is no example code that would run and hence no specifics to approve. If someone wanted to pursue this, python-ideas would be a better place.

One of the general reasons given is that the example does not demonstrate a real need for the fixtures proposed. My take on the example code is this.

The input to TpedIterator is an iterable of lines. A list of lines will work as well an an open file. I would create a file of example lists and import the one needed for each docstring. For the example given.

def TpedIterator(lines):
    '''Yield Marker for each line of lines.

    >>> from biopython.sample_data import Tped
    >>> for marker in TpedIterator(Tped):
    ...    print(marker)
    Marker rs10000543, 2 individuals
    Marker rs10000929, 2 individuals
    Marker rs10002472, 2 individuals
    '''
历史
日期 用户 动作 参数
2014-06-27 20:11:16terry.reedy修改recipients: + terry.reedy, tim.peters, rhettinger, belopolsky, LambertDW, dalloliogm, BreamoreBoy
2014-06-27 20:11:16terry.reedy修改messageid: <1403899876.85.0.418576991907.issue4899@psf.upfronthosting.co.za>
2014-06-27 20:11:16terry.reedy链接issue4899 messages
2014-06-27 20:11:16terry.reedy创建