New submission from Roy Wellington :
The documentation for os.rename (e.g., here,
https://docs.python.org/3/library/os.html#os.rename but also for 3.8 and 3.9)
currently reads,
> On Unix, if src is a file and dst is a directory or vice-versa, anq:q
> IsADirectoryErro
New submission from Roy Wellington:
Inheriting from collections.MutableSet mixes in several methods, however, it
does not mix in a .update method. This can cause a variety of confusion if you
expect a MutableSet to act like a set. Moreover, MutableMapping does provide a
.update method, which
New submission from Roy Wellington:
The following:
s = set(range(10))
s -= (1, 2, 3)
raises a TypeError. Yet the following, which is more verbose and equivalent,
succeeds:
s.difference_update((1, 2, 3))
Under the hood, __isub__ calls difference_update to do its work. Unfortunately