os.environ.copy() returns a dict. Shouldn't it be more consistent? _______________________________________________ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
The copy() methods of list, dict, bytearray, set, frozenset,
WeakValueDictionary, WeakKeyDictionary return an instance of the base
type containing the content of the original collection.
The copy() methods of deque, defaultdict, OrderedDict, Counter,
ChainMap, UserDict, UserList, WeakSet, ElementTree.Element return an
instance of the same type as the original collection.
The copy() method of mappingproxy returns a copy of the underlying
mapping (using its copy() method).
- [Python-Dev] The type of the result of the copy() method Serhiy Storchaka
- Re: [Python-Dev] The type of the result of the copy... Brett Cannon
- Re: [Python-Dev] The type of the result of the ... Guido van Rossum
- Re: [Python-Dev] The type of the result of ... Raymond Hettinger
- Re: [Python-Dev] The type of the result... Guido van Rossum
- Re: [Python-Dev] The type of the result of ... Serhiy Storchaka
- Re: [Python-Dev] The type of the result... Guido van Rossum
- Re: [Python-Dev] The type of the result of the copy... Raymond Hettinger