fetch aligned reads in a region using 0-based indexing. The region is specified by reference, start and end. Alternatively, a samtools region string can be supplied.
Without reference or region all mapped reads will be fetched.
[/quote]
Although I can infer from these statements that a missing end-position could somehow qualify as an absent region, it is not documented clearly enough. This is especially the case since end (or start or reference) has a default value of None, leading to the assumption that either value can be omitted. I think that the function should complain about the missing end-position (if start is present) and then terminate.
Finally, something I just noticed. Please have another look at the quoted part of the fetch/pileup documentation. In the first statement "reference" is a part of "region", in the second it is not. (I'd guess it should be be region or region string or something among those lines). It is these small things that add to the confusion when trying to work with the documentation.