News for hackers. Stuff that matters.
Re:What's New in Python 3.12 by PinkRidingHood on Wednesday October 18, 2023 @01:43PM (#37932097)
Try This:

  x = {"users": [12,21,54], "items": [1,2,3]}  # group owned items
  >>> x["items"]
  [1,2,3]
  >>> x.items
  <built-in method items of dict object at 0x00>

There are no comments on this comment yet.