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":"I couldn't find any methods to iterate over PyDict in dict.rs.
","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"into_iter would do the job
","upvoteCount":1,"url":"https://github.com/RustPython/RustPython/discussions/5735#discussioncomment-12919092"}}}
| route-pattern | /_view_fragments/Voltron::DiscussionsFragmentsController/show/:user_id/:repository/:discussion_number/discussion_layout(.:format) |
| route-controller | voltron_discussions_fragments |
| route-action | discussion_layout |
| fetch-nonce | v2:c375ee03-4f2e-3d9a-7237-e5a1cc869522 |
| current-catalog-service-hash | 9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be |
| request-id | B834:AD745:14955EC:1B93978:6964A3DC |
| html-safe-nonce | 3d32d39b7c9c1759cc7af5c358c06ce2c49809a327ee6acb36958b67f3e2f1a6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODM0OkFENzQ1OjE0OTU1RUM6MUI5Mzk3ODo2OTY0QTNEQyIsInZpc2l0b3JfaWQiOiI1NTgyMTk5NjA2NjExMzIxODIwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b8d78e698c599b8283fc94764ad5cfb4810a3bc5a23677a3b8654ceaff1e0a85 |
| 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/_view_fragments/Voltron::DiscussionsFragmentsController/show/RustPython/RustPython/5735/discussion_layout |
| 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 | baa7d9900fdf7b27d604f36887af878d569cfbdcf97126832a5f4f0caf0c6ba5 |
| 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 | 842eff1d11f899d02b6b3b98fa3ea4860e64b34e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width