New submission from 劉劍峰: the message `D.setdefault(k[,d])', compiler inform SyntaxError: invalid syntax. I think that it woulld be D.setdefault([k, d]).
---------- assignee: docs@python components: Documentation messages: 284015 nosy: docs@python, 劉劍峰 priority: normal severity: normal status: open title: the message of help(os.environ.setdefault) have some error versions: Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29072> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com