[issue38497] Wrong argument name in documentation for pipes.Template.open
New submission from Ilaï
from pipes import Template; Template().open('/tmp/f', mode='r') Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: open() got an unexpected keyword argument 'mode'
Python 2.7.16 (default, Mar 11 2019, 18:59:25) [GCC 8.2.1 20181127] on linux2 Type "help", "copyright", "credits" or "license" for more information.
from pipes import Template; Template().open('/tmp/f', mode='r') Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: open() got an unexpected keyword argument 'mode'
https://docs.python.org/3/library/pipes.html#pipes.Template.open
----------
assignee: docs@python
components: Documentation
messages: 354781
nosy: docs@python, ilai
priority: normal
severity: normal
status: open
title: Wrong argument name in documentation for pipes.Template.open
versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9
_______________________________________
Python tracker
Karthikeyan Singaravelan
participants (2)
-
Ilaï
-
Karthikeyan Singaravelan