[issue29669] Missing import of bisect in the documentation examples

2017-02-27 Thread Raymond Hettinger

Raymond Hettinger added the comment:

Sorry, but I think this is a waste.  A number of the example sections presume 
that the module under discussion has been imported.   Also, these docs have 
been around for a long time without the slightest indication of confusion.

--
nosy: +rhettinger
resolution:  -> rejected
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29669] Missing import of bisect in the documentation examples

2017-02-27 Thread Marco Buttu

New submission from Marco Buttu:

There is no import of bisect.bisect() and bisect.bisect_left() in the 
documentation. IMHO the examples are clearer and more complete if we import 
these functions, as in the attached patch.

--
assignee: docs@python
components: Documentation
files: import_bisect.patch
keywords: patch
messages: 288663
nosy: docs@python, marco.buttu
priority: normal
severity: normal
status: open
title: Missing import of bisect in the documentation examples
type: enhancement
versions: Python 3.5, Python 3.6, Python 3.7
Added file: http://bugs.python.org/file46676/import_bisect.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com