{"id":1121333,"date":"2025-01-08T19:08:11","date_gmt":"2025-01-08T11:08:11","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1121333.html"},"modified":"2025-01-08T19:08:14","modified_gmt":"2025-01-08T11:08:14","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e6%8a%8a%e5%88%97%e8%a1%a8%e9%87%8c%e7%9a%84%e5%85%83%e7%b4%a0%e5%88%a0%e6%8e%89","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1121333.html","title":{"rendered":"Python\u4e2d\u5982\u4f55\u628a\u5217\u8868\u91cc\u7684\u5143\u7d20\u5220\u6389"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25083626\/93cfd39e-7c59-4a9e-afca-e6e437757fc4.webp\" alt=\"Python\u4e2d\u5982\u4f55\u628a\u5217\u8868\u91cc\u7684\u5143\u7d20\u5220\u6389\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c\u8981\u5220\u9664\u5217\u8868\u91cc\u7684\u5143\u7d20\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u65b9\u6cd5\uff0c\u5305\u62ecdel\u8bed\u53e5\u3001remove()\u65b9\u6cd5\u3001pop()\u65b9\u6cd5\u3001\u5217\u8868\u89e3\u6790\u7b49\u3002<\/strong> \u5176\u4e2d\uff0c\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u4f7f\u7528remove()\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u80fd\u591f\u6839\u636e\u5143\u7d20\u7684\u503c\u6765\u5220\u9664\u6307\u5b9a\u7684\u5143\u7d20\u3002\u63a5\u4e0b\u6765\uff0c\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e9b\u65b9\u6cd5\u7684\u4f7f\u7528\u65b9\u5f0f\u53ca\u5176\u9002\u7528\u573a\u666f\u3002<\/p>\n<\/p>\n<hr>\n<p><h2>\u4e00\u3001DEL\u8bed\u53e5<\/h2>\n<\/p>\n<p><h3>1. \u4f7f\u7528\u7d22\u5f15\u5220\u9664<\/h3>\n<\/p>\n<p><p><code>del<\/code>\u8bed\u53e5\u901a\u8fc7\u6307\u5b9a\u7d22\u5f15\u6765\u5220\u9664\u5217\u8868\u4e2d\u7684\u5143\u7d20\u3002\u8fd9\u79cd\u65b9\u5f0f\u9002\u7528\u4e8e\u77e5\u9053\u5143\u7d20\u4f4d\u7f6e\u7684\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 4, 5]<\/p>\n<p>del my_list[2]  # \u5220\u9664\u7d22\u5f15\u4e3a2\u7684\u5143\u7d20\uff0c\u53733<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [1, 2, 4, 5]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>2. \u5220\u9664\u8303\u56f4\u5185\u7684\u5143\u7d20<\/h3>\n<\/p>\n<p><p><code>del<\/code>\u8bed\u53e5\u4e5f\u53ef\u4ee5\u7528\u6765\u5220\u9664\u4e00\u4e2a\u8303\u56f4\u5185\u7684\u5143\u7d20\uff0c\u8fd9\u5728\u9700\u8981\u4e00\u6b21\u6027\u5220\u9664\u591a\u4e2a\u5143\u7d20\u65f6\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 4, 5]<\/p>\n<p>del my_list[1:3]  # \u5220\u9664\u7d22\u5f15\u4e3a1\u52303\u4e4b\u95f4\u7684\u5143\u7d20\uff0c\u53732\u548c3<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [1, 4, 5]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u4e8c\u3001REMOVE()\u65b9\u6cd5<\/h2>\n<\/p>\n<p><h3>1. \u5220\u9664\u7279\u5b9a\u503c\u7684\u7b2c\u4e00\u4e2a\u5339\u914d\u9879<\/h3>\n<\/p>\n<p><p><code>remove()<\/code>\u65b9\u6cd5\u7528\u4e8e\u5220\u9664\u5217\u8868\u4e2d\u7b2c\u4e00\u4e2a\u5339\u914d\u7684\u6307\u5b9a\u503c\u3002\u5982\u679c\u5217\u8868\u4e2d\u5b58\u5728\u591a\u4e2a\u76f8\u540c\u503c\uff0c\u53ea\u4f1a\u5220\u9664\u7b2c\u4e00\u4e2a\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 2, 4]<\/p>\n<p>my_list.remove(2)  # \u5220\u9664\u7b2c\u4e00\u4e2a2<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [1, 3, 2, 4]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>2. \u5220\u9664\u6240\u6709\u5339\u914d\u9879<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u9700\u8981\u5220\u9664\u6240\u6709\u5339\u914d\u7684\u5143\u7d20\uff0c\u53ef\u4ee5\u7ed3\u5408\u5217\u8868\u89e3\u6790\u6216\u5faa\u73af\u6765\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 2, 4]<\/p>\n<p>my_list = [x for x in my_list if x != 2]  # \u5220\u9664\u6240\u67092<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [1, 3, 4]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u4e09\u3001POP()\u65b9\u6cd5<\/h2>\n<\/p>\n<p><h3>1. \u6839\u636e\u7d22\u5f15\u5220\u9664\u5e76\u8fd4\u56de\u5143\u7d20<\/h3>\n<\/p>\n<p><p><code>pop()<\/code>\u65b9\u6cd5\u6839\u636e\u7d22\u5f15\u5220\u9664\u5143\u7d20\uff0c\u5e76\u8fd4\u56de\u88ab\u5220\u9664\u7684\u5143\u7d20\u3002\u5982\u679c\u6ca1\u6709\u6307\u5b9a\u7d22\u5f15\uff0c\u9ed8\u8ba4\u5220\u9664\u6700\u540e\u4e00\u4e2a\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 4, 5]<\/p>\n<p>popped_element = my_list.pop(2)  # \u5220\u9664\u7d22\u5f15\u4e3a2\u7684\u5143\u7d20\uff0c\u53733<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [1, 2, 4, 5]<\/p>\n<p>print(popped_element)  # \u8f93\u51fa: 3<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>2. \u5220\u9664\u5e76\u8fd4\u56de\u6700\u540e\u4e00\u4e2a\u5143\u7d20<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u4e0d\u6307\u5b9a\u7d22\u5f15\uff0c<code>pop()<\/code>\u4f1a\u5220\u9664\u5217\u8868\u4e2d\u7684\u6700\u540e\u4e00\u4e2a\u5143\u7d20\uff0c\u5e76\u8fd4\u56de\u8be5\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 4, 5]<\/p>\n<p>last_element = my_list.pop()  # \u5220\u9664\u6700\u540e\u4e00\u4e2a\u5143\u7d20\uff0c\u53735<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [1, 2, 3, 4]<\/p>\n<p>print(last_element)  # \u8f93\u51fa: 5<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u56db\u3001\u5217\u8868\u89e3\u6790<\/h2>\n<\/p>\n<p><h3>1. \u6761\u4ef6\u8fc7\u6ee4<\/h3>\n<\/p>\n<p><p>\u5217\u8868\u89e3\u6790\u662f\u4e00\u79cd\u4f18\u96c5\u4e14\u9ad8\u6548\u7684\u65b9\u6cd5\uff0c\u7528\u4e8e\u5728\u6ee1\u8db3\u7279\u5b9a\u6761\u4ef6\u65f6\u5220\u9664\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 4, 5]<\/p>\n<p>my_list = [x for x in my_list if x % 2 == 0]  # \u53ea\u4fdd\u7559\u5076\u6570<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [2, 4]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>2. \u5220\u9664\u7279\u5b9a\u503c<\/h3>\n<\/p>\n<p><p>\u5217\u8868\u89e3\u6790\u4e5f\u53ef\u4ee5\u7528\u4e8e\u5220\u9664\u7279\u5b9a\u503c\u7684\u6240\u6709\u5b9e\u4f8b\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 2, 4]<\/p>\n<p>my_list = [x for x in my_list if x != 2]  # \u5220\u9664\u6240\u67092<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [1, 3, 4]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u4e94\u3001FILTER()\u51fd\u6570<\/h2>\n<\/p>\n<p><h3>1. \u4f7f\u7528filter()\u51fd\u6570\u5220\u9664\u5143\u7d20<\/h3>\n<\/p>\n<p><p><code>filter()<\/code>\u51fd\u6570\u53ef\u4ee5\u7528\u4e8e\u6839\u636e\u6761\u4ef6\u5220\u9664\u5143\u7d20\uff0c\u8fd4\u56de\u7684\u662f\u4e00\u4e2a\u8fed\u4ee3\u5668\uff0c\u9700\u8981\u4f7f\u7528<code>list()<\/code>\u8f6c\u6362\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 4, 5]<\/p>\n<p>my_list = list(filter(lambda x: x % 2 == 0, my_list))  # \u53ea\u4fdd\u7559\u5076\u6570<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [2, 4]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>2. \u5220\u9664\u7279\u5b9a\u503c<\/h3>\n<\/p>\n<p><p>\u540c\u6837\u53ef\u4ee5\u4f7f\u7528<code>filter()<\/code>\u51fd\u6570\u5220\u9664\u7279\u5b9a\u503c\u7684\u6240\u6709\u5b9e\u4f8b\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 2, 4]<\/p>\n<p>my_list = list(filter(lambda x: x != 2, my_list))  # \u5220\u9664\u6240\u67092<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [1, 3, 4]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u516d\u3001CLEAR()\u65b9\u6cd5<\/h2>\n<\/p>\n<p><h3>1. \u6e05\u7a7a\u5217\u8868<\/h3>\n<\/p>\n<p><p><code>clear()<\/code>\u65b9\u6cd5\u7528\u4e8e\u6e05\u7a7a\u5217\u8868\u4e2d\u7684\u6240\u6709\u5143\u7d20\uff0c\u4f7f\u5176\u53d8\u4e3a\u7a7a\u5217\u8868\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 4, 5]<\/p>\n<p>my_list.clear()  # \u6e05\u7a7a\u5217\u8868<\/p>\n<p>print(my_list)  # \u8f93\u51fa: []<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u4e03\u3001\u7efc\u5408\u5b9e\u4f8b<\/h2>\n<\/p>\n<p><h3>1. \u5220\u9664\u91cd\u590d\u5143\u7d20<\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u53ef\u80fd\u9700\u8981\u5220\u9664\u5217\u8868\u4e2d\u7684\u91cd\u590d\u5143\u7d20\uff0c\u53ef\u4ee5\u7ed3\u5408\u96c6\u5408\uff08set\uff09\u548c\u5217\u8868\u89e3\u6790\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 2, 3, 4, 4, 5]<\/p>\n<p>my_list = list(set(my_list))  # \u5220\u9664\u91cd\u590d\u5143\u7d20<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [1, 2, 3, 4, 5]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>2. \u5220\u9664\u6307\u5b9a\u8303\u56f4\u7684\u5143\u7d20<\/h3>\n<\/p>\n<p><p>\u7ed3\u5408<code>del<\/code>\u8bed\u53e5\u548c\u5217\u8868\u89e3\u6790\uff0c\u53ef\u4ee5\u5220\u9664\u6307\u5b9a\u8303\u56f4\u7684\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 4, 5, 6, 7, 8, 9]<\/p>\n<p>del my_list[2:5]  # \u5220\u9664\u7d22\u5f15\u4e3a2\u52305\u4e4b\u95f4\u7684\u5143\u7d20\uff0c\u53733, 4, 5<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [1, 2, 6, 7, 8, 9]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u516b\u3001\u6027\u80fd\u6bd4\u8f83<\/h2>\n<\/p>\n<p><h3>1. \u65f6\u95f4\u590d\u6742\u5ea6\u5206\u6790<\/h3>\n<\/p>\n<p><p>\u4e0d\u540c\u65b9\u6cd5\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u6709\u6240\u4e0d\u540c\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u6548\u7387\u3002<\/p>\n<\/p>\n<ul>\n<li><code>del<\/code>\u8bed\u53e5\uff1aO(n)<\/li>\n<li><code>remove()<\/code>\u65b9\u6cd5\uff1aO(n)<\/li>\n<li><code>pop()<\/code>\u65b9\u6cd5\uff1aO(1)\uff08\u5220\u9664\u6700\u540e\u4e00\u4e2a\u5143\u7d20\uff09\uff0cO(n)\uff08\u5220\u9664\u5176\u4ed6\u5143\u7d20\uff09<\/li>\n<li>\u5217\u8868\u89e3\u6790\uff1aO(n)<\/li>\n<li><code>filter()<\/code>\u51fd\u6570\uff1aO(n)<\/li>\n<li><code>clear()<\/code>\u65b9\u6cd5\uff1aO(1)<\/li>\n<\/ul>\n<p><h3>2. \u5185\u5b58\u4f7f\u7528\u5206\u6790<\/h3>\n<\/p>\n<p><p>\u5728\u5220\u9664\u5143\u7d20\u65f6\uff0c\u4e5f\u9700\u8981\u8003\u8651\u5185\u5b58\u4f7f\u7528\u60c5\u51b5\u3002\u4e00\u822c\u6765\u8bf4\uff0c\u76f4\u63a5\u64cd\u4f5c\u539f\u5217\u8868\u7684\u65b9\u6cd5\uff08\u5982<code>del<\/code>\u3001<code>remove()<\/code>\u3001<code>pop()<\/code>\uff09\u5185\u5b58\u4f7f\u7528\u66f4\u4e3a\u9ad8\u6548\uff0c\u800c\u751f\u6210\u65b0\u5217\u8868\u7684\u65b9\u6cd5\uff08\u5982\u5217\u8868\u89e3\u6790\u3001<code>filter()<\/code>\uff09\u4f1a\u5360\u7528\u66f4\u591a\u5185\u5b58\u3002<\/p>\n<\/p>\n<hr>\n<p><p>\u7efc\u4e0a\u6240\u8ff0\uff0cPython\u63d0\u4f9b\u4e86\u591a\u79cd\u65b9\u6cd5\u6765\u5220\u9664\u5217\u8868\u4e2d\u7684\u5143\u7d20\uff0c\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u9002\u7528\u7684\u573a\u666f\u3002\u6839\u636e\u5177\u4f53\u9700\u6c42\u548c\u6027\u80fd\u8003\u8651\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u6548\u7387\u548c\u53ef\u8bfb\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5220\u9664\u5217\u8868\u4e2d\u7684\u7279\u5b9a\u5143\u7d20\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528<code>remove()<\/code>\u65b9\u6cd5\u6765\u5220\u9664\u5217\u8868\u4e2d\u7684\u7279\u5b9a\u5143\u7d20\u3002\u53ea\u9700\u8c03\u7528\u8be5\u65b9\u6cd5\u5e76\u4f20\u5165\u60a8\u60f3\u8981\u5220\u9664\u7684\u5143\u7d20\u503c\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u7684\u5217\u8868\u662f<code>my_list = [1, 2, 3, 4]<\/code>\uff0c\u8981\u5220\u9664\u5143\u7d20<code>3<\/code>\uff0c\u53ef\u4ee5\u4f7f\u7528<code>my_list.remove(3)<\/code>\u3002\u8bf7\u6ce8\u610f\uff0c\u5982\u679c\u5217\u8868\u4e2d\u6709\u591a\u4e2a\u76f8\u540c\u7684\u5143\u7d20\uff0c<code>remove()<\/code>\u53ea\u4f1a\u5220\u9664\u7b2c\u4e00\u4e2a\u627e\u5230\u7684\u5143\u7d20\u3002<\/p>\n<p><strong>\u662f\u5426\u53ef\u4ee5\u901a\u8fc7\u7d22\u5f15\u5220\u9664\u5217\u8868\u4e2d\u7684\u5143\u7d20\uff1f<\/strong><br \/>\u5f53\u7136\u53ef\u4ee5\uff01\u60a8\u53ef\u4ee5\u4f7f\u7528<code>del<\/code>\u8bed\u53e5\u6216<code>pop()<\/code>\u65b9\u6cd5\u6839\u636e\u7d22\u5f15\u5220\u9664\u5143\u7d20\u3002\u5982\u679c\u8981\u5220\u9664\u7d22\u5f15\u4e3a<code>2<\/code>\u7684\u5143\u7d20\uff0c\u53ef\u4ee5\u4f7f\u7528<code>del my_list[2]<\/code>\u3002\u4f7f\u7528<code>pop()<\/code>\u65b9\u6cd5\u4e0d\u4ec5\u53ef\u4ee5\u5220\u9664\u7279\u5b9a\u7d22\u5f15\u7684\u5143\u7d20\uff0c\u8fd8\u4f1a\u8fd4\u56de\u88ab\u5220\u9664\u7684\u5143\u7d20\uff0c\u4f8b\u5982<code>removed_element = my_list.pop(2)<\/code>\u3002<\/p>\n<p><strong>\u5728\u5220\u9664\u5143\u7d20\u65f6\u5982\u4f55\u5904\u7406\u5217\u8868\u4e2d\u7684\u526f\u672c\uff1f<\/strong><br \/>\u5982\u679c\u60a8\u60f3\u5728\u5220\u9664\u5143\u7d20\u4e4b\u524d\u4fdd\u7559\u5217\u8868\u7684\u526f\u672c\uff0c\u53ef\u4ee5\u4f7f\u7528\u5207\u7247\u6216<code>copy()<\/code>\u65b9\u6cd5\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u901a\u8fc7<code>new_list = my_list[:]<\/code>\u521b\u5efa\u4e00\u4e2a\u526f\u672c\uff0c\u6216\u4f7f\u7528<code>new_list = my_list.copy()<\/code>\u3002\u8fd9\u6837\uff0c\u60a8\u53ef\u4ee5\u5728\u5bf9<code>my_list<\/code>\u8fdb\u884c\u4fee\u6539\u65f6\uff0c\u4fdd\u7559<code>new_list<\/code>\u7684\u539f\u59cb\u6570\u636e\uff0c\u786e\u4fdd\u4e0d\u5f71\u54cd\u539f\u59cb\u5217\u8868\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u8981\u5220\u9664\u5217\u8868\u91cc\u7684\u5143\u7d20\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u65b9\u6cd5\uff0c\u5305\u62ecdel\u8bed\u53e5\u3001remove()\u65b9\u6cd5\u3001pop()\u65b9\u6cd5\u3001 [&hellip;]","protected":false},"author":3,"featured_media":1121341,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1121333"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=1121333"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1121333\/revisions"}],"predecessor-version":[{"id":1121345,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1121333\/revisions\/1121345"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1121341"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1121333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1121333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1121333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}