[New-bugs-announce] [issue32349] Add detailed return value information for set.intersection function

양유석 report at bugs.python.org
Sun Dec 17 00:29:21 EST 2017


New submission from 양유석 <ileixe at gmail.com>:

I think it's intentional behavior seems to be minor though.

At a glance, I assume that a.set(b) should return items in a. But I found out the implementation always return items in smaller set.

There is no issue for common case, but custom class can make a trouble. So, I think additional information of return value is helpful.

----------
assignee: docs at python
components: Documentation
messages: 308484
nosy: docs at python, 양유석
priority: normal
severity: normal
status: open
title: Add detailed return value information for set.intersection function
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32349>
_______________________________________


More information about the New-bugs-announce mailing list