Commit Graph

3 Commits

Author SHA1 Message Date
Mark Shannon 91b9f68579
PEP 667: Update to account for changes to PEP 558 and feedback from Nick. (#2180)
* Remove incorrect implementation of pop(). There is an implementation in collections.MutableMapping so it is not needed. Add implementation of __contains__.

* Remove outdated section on differences with PEP 558.
2021-12-06 10:11:27 +00:00
Mark Shannon 6dcb556f9d
PyEval_GetLocals() to return a borrowed reference. Minor fixes to examples. (#2057) 2021-08-25 16:27:10 +01:00
Mark Shannon 74b5733b33
PEP 667: Alternative to PEP to 558 for frame.f_locals and locals(). (#2053) 2021-08-20 14:37:20 +01:00