Title: How should I iterate over an PyDict? · RustPython/RustPython · Discussion #5735 · GitHub
Open Graph Title: How should I iterate over an PyDict? · RustPython/RustPython · Discussion #5735
X Title: How should I iterate over an PyDict? · RustPython/RustPython · Discussion #5735
Description: How should I iterate over an PyDict?
Open Graph Description: I couldn't find any methods to iterate over PyDict in dict.rs.
X Description: I couldn't find any methods to iterate over PyDict in dict.rs.
Opengraph URL: https://github.com/RustPython/RustPython/discussions/5735
X: @github
Domain: Github.com
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"How should I iterate over an PyDict?","text":"\u003cp dir=\"auto\"\u003eI couldn't find any methods to iterate over PyDict in dict.rs.\u003c/p\u003e","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"\u003cp dir=\"auto\"\u003einto_iter would do the job\u003c/p\u003e","upvoteCount":1,"url":"https://github.com/RustPython/RustPython/discussions/5735#discussioncomment-12919092"}}}
| route-pattern | /:user_id/:repository/discussions/:number(.:format) |
| route-controller | discussions |
| route-action | show |
| fetch-nonce | v2:315b46d3-36c8-5ef1-5e87-8e209957917d |
| current-catalog-service-hash | 9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be |
| request-id | E83E:E2E6D:7E8FBA:AA7CD3:6A62AAC8 |
| html-safe-nonce | 6a014343c94f165ef589df732d1b15d0ec5e13f92f3ac628467a963ccce3c8b2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODNFOkUyRTZEOjdFOEZCQTpBQTdDRDM6NkE2MkFBQzgiLCJ2aXNpdG9yX2lkIjoiNjgxODEwODE3MTg1OTE3NjQwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9a403d982292006db7bd533d7b1067b26e0f52f5045e4c1cf61fd30fa45d810d |
| hovercard-subject-tag | discussion:8233116 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/discussions/5735 |
| twitter:image | https://opengraph.githubassets.com/fa6d36ba9398fec64cd240c32f4d43d070abf7c1649735f64b2e9ad202d9ae5f/RustPython/RustPython/discussions/5735 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fa6d36ba9398fec64cd240c32f4d43d070abf7c1649735f64b2e9ad202d9ae5f/RustPython/RustPython/discussions/5735 |
| og:image:alt | I couldn't find any methods to iterate over PyDict in dict.rs. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e362a1b5e54cdb52dad78dc403bb9e6a8362e7c0448a1d804fe243f9fac57954 |
| turbo-cache-control | no-preview |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5410e150d3e7c804f80827080c5f130c97eaf5a4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width