[docs] [issue23983] Update example in the pty documentation

Berker Peksag report at bugs.python.org
Fri Apr 17 03:17:28 CEST 2015


New submission from Berker Peksag:

I was reading pty docs after watching a PyCon talk and the example in https://docs.python.org/3/library/pty.html#example looked a bit outdated to me. Here is a patch to update it.

Changes:

* Fixed a ResourceWarning warning
* Used argparse instead of getopt

----------
assignee: docs at python
components: Documentation
files: pty-example.diff
keywords: patch
messages: 241301
nosy: berker.peksag, docs at python
priority: normal
severity: normal
stage: patch review
status: open
title: Update example in the pty documentation
type: enhancement
versions: Python 3.4, Python 3.5
Added file: http://bugs.python.org/file39082/pty-example.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23983>
_______________________________________


More information about the docs mailing list