{"id":1075335,"date":"2025-01-08T11:43:07","date_gmt":"2025-01-08T03:43:07","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1075335.html"},"modified":"2025-01-08T11:43:09","modified_gmt":"2025-01-08T03:43:09","slug":"python%e5%a6%82%e4%bd%95%e5%88%a0%e9%99%a4%e6%95%b0%e7%bb%84%e4%b8%ad%e7%9a%84%e6%95%b0-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1075335.html","title":{"rendered":"python\u5982\u4f55\u5220\u9664\u6570\u7ec4\u4e2d\u7684\u6570"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24180452\/b9ab998a-5e1a-4fe6-b947-b7b4c430a6db.webp\" alt=\"python\u5982\u4f55\u5220\u9664\u6570\u7ec4\u4e2d\u7684\u6570\" \/><\/p>\n<p><p> <strong>Python\u5220\u9664\u6570\u7ec4\u4e2d\u7684\u6570\u7684\u65b9\u6cd5\u6709\uff1a\u4f7f\u7528remove()\u65b9\u6cd5\u3001\u4f7f\u7528pop()\u65b9\u6cd5\u3001\u4f7f\u7528del\u5173\u952e\u5b57\u3001\u4f7f\u7528\u5217\u8868\u751f\u6210\u5f0f\u3002<\/strong>\u5176\u4e2d\uff0c\u4f7f\u7528remove()\u65b9\u6cd5\u662f\u6700\u5e38\u89c1\u548c\u7b80\u5355\u7684\u65b9\u5f0f\u4e4b\u4e00\u3002\u5b83\u4f1a\u5220\u9664\u6570\u7ec4\u4e2d\u7b2c\u4e00\u4e2a\u5339\u914d\u7684\u5143\u7d20\u3002\u63a5\u4e0b\u6765\u6211\u4eec\u5c06\u8be6\u7ec6\u63cf\u8ff0\u5982\u4f55\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\u6765\u5220\u9664\u6570\u7ec4\u4e2d\u7684\u6570\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528 remove() \u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>remove() \u65b9\u6cd5\u662f\u7528\u4e8e\u5220\u9664\u5217\u8868\u4e2d\u7b2c\u4e00\u4e2a\u5339\u914d\u7684\u503c\u3002\u5b83\u4e0d\u4f1a\u8fd4\u56de\u4efb\u4f55\u503c\uff0c\u5982\u679c\u5217\u8868\u4e2d\u4e0d\u5b58\u5728\u8be5\u503c\u5219\u4f1a\u629b\u51fa ValueError\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 4, 3, 5]<\/p>\n<p>my_list.remove(3)<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [1, 2, 4, 3, 5]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u5c1d\u8bd5\u5220\u9664\u5217\u8868\u4e2d\u7684\u6570\u503c 3\uff0cremove() \u65b9\u6cd5\u4f1a\u5220\u9664\u5217\u8868\u4e2d\u7b2c\u4e00\u4e2a\u51fa\u73b0\u7684 3\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528 pop() \u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>pop() \u65b9\u6cd5\u901a\u8fc7\u7d22\u5f15\u5220\u9664\u5143\u7d20\uff0c\u5e76\u8fd4\u56de\u88ab\u5220\u9664\u7684\u503c\u3002\u5982\u679c\u4e0d\u63d0\u4f9b\u7d22\u5f15\u53c2\u6570\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>removed_element = my_list.pop(2)<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [1, 2, 4, 5]<\/p>\n<p>print(removed_element)  # \u8f93\u51fa: 3<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528 pop() \u65b9\u6cd5\u5220\u9664\u7d22\u5f15\u4e3a 2 \u7684\u5143\u7d20\uff0c\u5373\u6570\u503c 3\uff0c\u5e76\u8fd4\u56de\u88ab\u5220\u9664\u7684\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528 del \u5173\u952e\u5b57<\/h3>\n<\/p>\n<p><p>del \u5173\u952e\u5b57\u53ef\u4ee5\u5220\u9664\u5217\u8868\u4e2d\u7279\u5b9a\u7d22\u5f15\u7684\u5143\u7d20\uff0c\u6216\u8005\u5220\u9664\u6574\u4e2a\u5217\u8868\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]<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [1, 2, 4, 5]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528 del \u5173\u952e\u5b57\u5220\u9664\u7d22\u5f15\u4e3a 2 \u7684\u5143\u7d20\uff0c\u5373\u6570\u503c 3\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528\u5217\u8868\u751f\u6210\u5f0f<\/h3>\n<\/p>\n<p><p>\u5217\u8868\u751f\u6210\u5f0f\u662f\u4e00\u79cd\u7b80\u6d01\u7684\u65b9\u5f0f\uff0c\u53ef\u4ee5\u901a\u8fc7\u6761\u4ef6\u7b5b\u9009\u6765\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5217\u8868\uff0c\u4ece\u800c\u5220\u9664\u7279\u5b9a\u7684\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 4, 3, 5]<\/p>\n<p>my_list = [x for x in my_list if x != 3]<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [1, 2, 4, 5]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u521b\u5efa\u4e86\u4e00\u4e2a\u65b0\u7684\u5217\u8868\uff0c\u5176\u4e2d\u4e0d\u5305\u542b\u6570\u503c 3\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u7efc\u5408\u5e94\u7528\u573a\u666f<\/h3>\n<\/p>\n<p><h4>1\u3001\u5220\u9664\u6240\u6709\u5339\u914d\u7684\u503c<\/h4>\n<\/p>\n<p><p>\u6709\u65f6\u6211\u4eec\u9700\u8981\u5220\u9664\u5217\u8868\u4e2d\u6240\u6709\u5339\u914d\u7684\u503c\uff0c\u53ef\u4ee5\u7ed3\u5408\u5217\u8868\u751f\u6210\u5f0f\u6765\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 4, 3, 5]<\/p>\n<p>my_list = [x for x in my_list if x != 3]<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [1, 2, 4, 5]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u6839\u636e\u6761\u4ef6\u5220\u9664\u503c<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u6839\u636e\u7279\u5b9a\u6761\u4ef6\u5220\u9664\u5217\u8868\u4e2d\u7684\u5143\u7d20\uff0c\u4f8b\u5982\u5220\u9664\u6240\u6709\u5076\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 4, 5, 6]<\/p>\n<p>my_list = [x for x in my_list if x % 2 != 0]<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [1, 3, 5]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3\u3001\u5220\u9664\u8303\u56f4\u5185\u7684\u503c<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u6839\u636e\u7d22\u5f15\u8303\u56f4\u5220\u9664\u5217\u8868\u4e2d\u7684\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 4, 5, 6]<\/p>\n<p>del my_list[2:4]<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [1, 2, 5, 6]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u5220\u9664\u4e86\u7d22\u5f15\u8303\u56f4\u4e3a 2 \u5230 4\uff08\u4e0d\u5305\u62ec 4\uff09\u7684\u5143\u7d20\uff0c\u5373\u6570\u503c 3 \u548c 4\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u5904\u7406\u5220\u9664\u64cd\u4f5c\u7684\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><p>\u5728\u8fdb\u884c\u5220\u9664\u64cd\u4f5c\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n<\/p>\n<p><h4>1\u3001\u5220\u9664\u4e0d\u5b58\u5728\u7684\u5143\u7d20<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528 remove() \u65b9\u6cd5\u65f6\uff0c\u5982\u679c\u5217\u8868\u4e2d\u4e0d\u5b58\u5728\u8be5\u5143\u7d20\uff0c\u4f1a\u629b\u51fa ValueError\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3]<\/p>\n<p>try:<\/p>\n<p>    my_list.remove(4)<\/p>\n<p>except ValueError:<\/p>\n<p>    print(&quot;\u5143\u7d20\u4e0d\u5728\u5217\u8868\u4e2d&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u5217\u8868\u7d22\u5f15\u8d8a\u754c<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528 pop() \u65b9\u6cd5\u548c del \u5173\u952e\u5b57\u65f6\uff0c\u5982\u679c\u63d0\u4f9b\u7684\u7d22\u5f15\u8d85\u51fa\u5217\u8868\u8303\u56f4\uff0c\u4f1a\u629b\u51fa IndexError\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3]<\/p>\n<p>try:<\/p>\n<p>    my_list.pop(5)<\/p>\n<p>except IndexError:<\/p>\n<p>    print(&quot;\u7d22\u5f15\u8d85\u51fa\u8303\u56f4&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3\u3001\u907f\u514d\u5728\u5faa\u73af\u4e2d\u5220\u9664\u5143\u7d20<\/h4>\n<\/p>\n<p><p>\u5728\u5faa\u73af\u4e2d\u5220\u9664\u5217\u8868\u5143\u7d20\u65f6\uff0c\u9700\u8c28\u614e\u5904\u7406\uff0c\u907f\u514d\u7d22\u5f15\u9519\u8bef\u6216\u9057\u6f0f\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [1, 2, 3, 4, 5]<\/p>\n<p>for i in my_list:<\/p>\n<p>    if i % 2 == 0:<\/p>\n<p>        my_list.remove(i)<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [1, 3, 5]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u5c1d\u8bd5\u5220\u9664\u6240\u6709\u5076\u6570\uff0c\u4f46\u7531\u4e8e\u5217\u8868\u957f\u5ea6\u5728\u5faa\u73af\u8fc7\u7a0b\u4e2d\u53d8\u5316\uff0c\u5bfc\u81f4\u9057\u6f0f\u4e86\u67d0\u4e9b\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><h3>\u4e03\u3001\u5220\u9664\u6570\u7ec4\u4e2d\u7684\u6570\u5728\u4e0d\u540c\u573a\u666f\u4e0b\u7684\u5e94\u7528<\/h3>\n<\/p>\n<p><h4>1\u3001\u6570\u636e\u9884\u5904\u7406<\/h4>\n<\/p>\n<p><p>\u5728\u6570\u636e\u5206\u6790\u548c<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u4e2d\uff0c\u901a\u5e38\u9700\u8981\u5bf9\u6570\u636e\u8fdb\u884c\u6e05\u6d17\u548c\u9884\u5904\u7406\u3002\u5220\u9664\u6570\u7ec4\u4e2d\u7684\u7279\u5b9a\u503c\u6216\u6839\u636e\u6761\u4ef6\u5220\u9664\u5143\u7d20\u662f\u6570\u636e\u6e05\u6d17\u7684\u91cd\u8981\u6b65\u9aa4\u4e4b\u4e00\u3002<\/p>\n<\/p>\n<p><h4>2\u3001\u52a8\u6001\u6570\u7ec4\u64cd\u4f5c<\/h4>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u5e94\u7528\u573a\u666f\u4e2d\uff0c\u4f8b\u5982\u6e38\u620f\u5f00\u53d1\u6216\u5b9e\u65f6\u6570\u636e\u5904\u7406\uff0c\u9700\u8981\u52a8\u6001\u5730\u6dfb\u52a0\u548c\u5220\u9664\u6570\u7ec4\u4e2d\u7684\u5143\u7d20\u3002\u638c\u63e1\u6570\u7ec4\u5220\u9664\u64cd\u4f5c\u7684\u5404\u79cd\u65b9\u6cd5\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u7075\u6d3b\u6027\u548c\u6548\u7387\u3002<\/p>\n<\/p>\n<p><h4>3\u3001\u7528\u6237\u8f93\u5165\u5904\u7406<\/h4>\n<\/p>\n<p><p>\u5904\u7406\u7528\u6237\u8f93\u5165\u65f6\uff0c\u53ef\u80fd\u9700\u8981\u5220\u9664\u67d0\u4e9b\u65e0\u6548\u6216\u4e0d\u9700\u8981\u7684\u5143\u7d20\u3002\u4f8b\u5982\uff0c\u5728\u5904\u7406\u7528\u6237\u8f93\u5165\u7684\u5217\u8868\u65f6\uff0c\u5220\u9664\u6240\u6709\u7a7a\u5b57\u7b26\u4e32\u6216\u7279\u5b9a\u5b57\u7b26\u3002<\/p>\n<\/p>\n<p><h3>\u516b\u3001\u6027\u80fd\u548c\u6548\u7387\u8003\u8651<\/h3>\n<\/p>\n<p><p>\u5728\u5904\u7406\u5927\u89c4\u6a21\u6570\u636e\u65f6\uff0c\u5220\u9664\u64cd\u4f5c\u7684\u6548\u7387\u5c24\u4e3a\u91cd\u8981\u3002\u4e0d\u540c\u7684\u65b9\u6cd5\u5728\u6027\u80fd\u4e0a\u53ef\u80fd\u5b58\u5728\u5dee\u5f02\u3002\u901a\u5e38\uff0c\u5217\u8868\u751f\u6210\u5f0f\u548c\u5220\u9664\u8303\u56f4\u5185\u7684\u503c\u6548\u7387\u8f83\u9ad8\uff0c\u56e0\u4e3a\u5b83\u4eec\u907f\u514d\u4e86\u591a\u6b21\u904d\u5386\u548c\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><p>\u603b\u4e4b\uff0cPython \u63d0\u4f9b\u4e86\u591a\u79cd\u65b9\u6cd5\u6765\u5220\u9664\u6570\u7ec4\u4e2d\u7684\u6570\uff0c\u5305\u62ec remove() \u65b9\u6cd5\u3001pop() \u65b9\u6cd5\u3001del \u5173\u952e\u5b57\u548c\u5217\u8868\u751f\u6210\u5f0f\u7b49\u3002\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u6548\u7387\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u9700\u8981\u6ce8\u610f\u5904\u7406\u5220\u9664\u64cd\u4f5c\u7684\u5404\u79cd\u8fb9\u754c\u60c5\u51b5\u548c\u6027\u80fd\u95ee\u9898\u3002\u901a\u8fc7\u638c\u63e1\u8fd9\u4e9b\u65b9\u6cd5\u548c\u6280\u5de7\uff0c\u53ef\u4ee5\u66f4\u52a0\u7075\u6d3b\u5730\u64cd\u4f5c\u548c\u5904\u7406\u6570\u7ec4\u4e2d\u7684\u6570\u636e\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5220\u9664\u6570\u7ec4\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\u6570\u7ec4\u4e2d\u7b2c\u4e00\u6b21\u51fa\u73b0\u7684\u7279\u5b9a\u5143\u7d20\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u6709\u4e00\u4e2a\u6570\u7ec4<code>arr = [1, 2, 3, 4, 2]<\/code>\uff0c\u53ef\u4ee5\u901a\u8fc7<code>arr.remove(2)<\/code>\u6765\u5220\u9664\u7b2c\u4e00\u4e2a\u51fa\u73b0\u7684\u6570\u5b572\u3002\u5982\u679c\u8be5\u5143\u7d20\u4e0d\u5728\u6570\u7ec4\u4e2d\uff0c<code>remove()<\/code>\u65b9\u6cd5\u4f1a\u5f15\u53d1\u4e00\u4e2a<code>ValueError<\/code>\u3002<\/p>\n<p><strong>\u4f7f\u7528\u54ea\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u5220\u9664\u6570\u7ec4\u4e2d\u7684\u591a\u4e2a\u5143\u7d20\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u6765\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u6570\u7ec4\uff0c\u5176\u4e2d\u4e0d\u5305\u542b\u6307\u5b9a\u7684\u5143\u7d20\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u60f3\u8981\u5220\u9664\u6240\u6709\u76842\uff0c\u53ef\u4ee5\u4f7f\u7528<code>arr = [x for x in arr if x != 2]<\/code>\u3002\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u4ec5\u7075\u6d3b\uff0c\u8fd8\u80fd\u6709\u6548\u5730\u5904\u7406\u591a\u4e2a\u5143\u7d20\u7684\u5220\u9664\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u5b89\u5168\u5730\u5220\u9664\u6570\u7ec4\u4e2d\u7684\u5143\u7d20\u4ee5\u907f\u514d\u7d22\u5f15\u9519\u8bef\uff1f<\/strong><br \/>\u5728\u5220\u9664\u5143\u7d20\u65f6\uff0c\u5982\u679c\u60a8\u62c5\u5fc3\u7d22\u5f15\u9519\u8bef\uff0c\u53ef\u4ee5\u5148\u521b\u5efa\u4e00\u4e2a\u526f\u672c\uff0c\u7136\u540e\u5728\u526f\u672c\u4e0a\u6267\u884c\u5220\u9664\u64cd\u4f5c\u3002\u8fd9\u53ef\u4ee5\u901a\u8fc7<code>arr.copy()<\/code>\u5b9e\u73b0\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u5148\u590d\u5236\u6570\u7ec4\uff0c\u7136\u540e\u5728\u526f\u672c\u4e2d\u5220\u9664\u5143\u7d20\uff0c\u786e\u4fdd\u539f\u6570\u7ec4\u7684\u5b8c\u6574\u6027\uff0c\u907f\u514d\u5728\u8fed\u4ee3\u65f6\u53d1\u751f\u7d22\u5f15\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u5220\u9664\u6570\u7ec4\u4e2d\u7684\u6570\u7684\u65b9\u6cd5\u6709\uff1a\u4f7f\u7528remove()\u65b9\u6cd5\u3001\u4f7f\u7528pop()\u65b9\u6cd5\u3001\u4f7f\u7528del\u5173\u952e\u5b57\u3001\u4f7f\u7528\u5217\u8868\u751f [&hellip;]","protected":false},"author":3,"featured_media":1075340,"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\/1075335"}],"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=1075335"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1075335\/revisions"}],"predecessor-version":[{"id":1075341,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1075335\/revisions\/1075341"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1075340"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1075335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1075335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1075335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}