{"id":180025,"date":"2024-05-08T20:26:36","date_gmt":"2024-05-08T12:26:36","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/180025.html"},"modified":"2024-05-08T20:26:42","modified_gmt":"2024-05-08T12:26:42","slug":"python%e4%b8%ad-%e4%b8%ba%e4%bd%95i-x-%e5%92%8cii-x%e6%9c%89%e4%b8%8d%e7%9b%b8%e7%ad%89%e7%9a%84%e6%83%85%e5%86%b5","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/180025.html","title":{"rendered":"Python\u4e2d \u4e3a\u4f55`i =x` \u548c`i=i x`\u6709\u4e0d\u76f8\u7b49\u7684\u60c5\u51b5"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27065045\/45c06cb6-9e9d-4123-a3e5-18cbf8dc1b1a.webp\" alt=\"Python\u4e2d \u4e3a\u4f55`i =x` \u548c`i=i x`\u6709\u4e0d\u76f8\u7b49\u7684\u60c5\u51b5\" \/><\/p>\n<p><p><strong>Python<\/strong> \u4e2d\u9047\u5230 <code>i = x<\/code> \u548c <code>i *= x<\/code> \u7ed3\u679c\u4e0d\u76f8\u7b49\u7684\u72b6\u51b5\uff0c\u901a\u5e38\u6d89\u53ca\u5230\u53d8\u91cf\u8d4b\u503c\u4e0e <em>in-place<\/em> \u4fee\u6539\u64cd\u4f5c\u7684\u5dee\u5f02\u3001\u53ef\u53d8\u4e0e\u4e0d\u53ef\u53d8\u6570\u636e\u7c7b\u578b\u7684\u7279\u6027\u3001\u4ee5\u53ca\u64cd\u4f5c\u7b26\u91cd\u8f7d\u7b49\u56e0\u7d20\u3002\u8bf8\u5982\u4e0d\u53ef\u53d8\u6570\u636e\u7c7b\u578b\uff08\u5982\u6574\u6570\u3001\u5b57\u7b26\u4e32\u548c\u5143\u7ec4\uff09\u5728\u6267\u884c <code>i *= x<\/code> \u64cd\u4f5c\u65f6\uff0c\u5b9e\u8d28\u4e0a\u4f1a\u751f\u6210\u4e00\u4e2a\u65b0\u7684\u5bf9\u8c61\uff0c\u5373\u4f7f\u770b\u4f3c\u662f\u5728\u539f\u5730\u4fee\u6539\u3002\u800c\u5bf9\u4e8e\u53ef\u53d8\u6570\u636e\u7c7b\u578b\uff08\u5982\u5217\u8868\u548c\u5b57\u5178\uff09\uff0c<code>i *= x<\/code> \u5f80\u5f80\u4f1a\u5728\u539f\u5730\u4fee\u6539\u5bf9\u8c61\u7684\u6570\u636e\u3002\u8fd9\u4e9b\u5dee\u5f02\u5bfc\u81f4\u5373\u4f7f\u770b\u4f3c\u76f8\u540c\u7684\u64cd\u4f5c\uff0c\u5176\u5b9e\u9645\u884c\u4e3a\u548c\u7ed3\u679c\u5374\u53ef\u80fd\u4e0d\u540c\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u53d8\u91cf\u8d4b\u503c VS In-Place \u4fee\u6539<\/h3>\n<\/p>\n<p><p><strong>\u5728Python\u4e2d\uff0c\u53d8\u91cf\u8d4b\u503c<\/strong>\u662f\u521b\u5efa\u4e00\u4e2a\u6307\u5411\u5bf9\u8c61\u7684\u5f15\u7528\uff0c\u5f53\u6267\u884c <code>i = x<\/code> \u65f6\uff0c\u53d8\u91cf <code>i<\/code> \u5c06\u5f15\u7528 <code>x<\/code> \u6240\u6307\u5411\u7684\u5bf9\u8c61\u3002<strong>\u800cIn-Place \u4fee\u6539<\/strong>\u5219\u662f\u6307\u4f7f\u7528\u5982 <code>i *= x<\/code> \u8fd9\u6837\u7684\u64cd\u4f5c\u7b26\u76f4\u63a5\u4fee\u6539\u5de6\u4fa7\u5bf9\u8c61\u7684\u503c\uff0c\u800c\u4e0d\u662f\u91cd\u65b0\u521b\u5efa\u4e00\u4e2a\u5bf9\u8c61\u5e76\u5c06\u5176\u8d4b\u7ed9\u5de6\u4fa7\u53d8\u91cf\u3002 <\/p>\n<\/p>\n<p><p>\u4e00\u822c\u6765\u8bf4\uff0c\u5728\u5904\u7406\u4e0d\u53ef\u53d8\u6570\u636e\u7c7b\u578b\u65f6\uff08\u4f8b\u5982\u6574\u6570\u3001\u6d6e\u70b9\u6570\u3001\u5b57\u7b26\u4e32\u548c\u5143\u7ec4\uff09\uff0c<code>i *= x<\/code> \u64cd\u4f5c\u5e76\u4e0d\u4f1a\u4fee\u6539\u539f\u5bf9\u8c61\uff0c\u56e0\u4e3a\u4e0d\u53ef\u53d8\u7684\u6027\u8d28\u610f\u5473\u7740\u5b83\u4eec\u4e00\u65e6\u521b\u5efa\uff0c\u5176\u503c\u5c31\u4e0d\u80fd\u6539\u53d8\u3002\u4f46\u662f\u5728\u5904\u7406\u53ef\u53d8\u6570\u636e\u7c7b\u578b\uff08\u4f8b\u5982\u5217\u8868\u3001\u5b57\u5178\u3001\u96c6\u5408\uff09\u65f6\uff0c<code>i *= x<\/code> \u901a\u5e38\u4f1a\u4fee\u6539\u539f\u6765\u7684\u5bf9\u8c61\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u6574\u6570\u548c\u6d6e\u70b9\u6570<\/strong>\uff1a<\/p>\n<p>\u5f53\u6211\u4eec\u4f7f\u7528 <code>i = i * x<\/code> \u6216 <code>i *= x<\/code> \u5bf9\u6574\u578b\u6216\u6d6e\u70b9\u578b\u53d8\u91cf\u64cd\u4f5c\u65f6\uff0c\u901a\u5e38\u4f1a\u5f97\u5230\u76f8\u540c\u7684\u7ed3\u679c\uff0c\u56e0\u4e3a\u8fd9\u4e9b\u57fa\u7840\u6570\u636e\u7c7b\u578b\u662f\u4e0d\u53ef\u53d8\u7684\uff0c\u6240\u4ee5\u6bcf\u6b21\u64cd\u4f5c\u5b9e\u9645\u4e0a\u90fd\u4f1a\u751f\u6210\u4e00\u4e2a\u65b0\u7684\u5bf9\u8c61\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b57\u7b26\u4e32<\/strong>\uff1a<\/p>\n<p>\u5bf9\u4e8e\u5b57\u7b26\u4e32\uff0c<code>i *= x<\/code> \u64cd\u4f5c\u82e5<code>x<\/code>\u4e0d\u662f1\uff0c\u5219\u4f1a\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5b57\u7b26\u4e32\u5bf9\u8c61\uff0c\u800c\u4e0d\u662f\u4fee\u6539\u539f\u59cb\u5b57\u7b26\u4e32\u5bf9\u8c61\uff0c\u56e0\u4e3a\u5b57\u7b26\u4e32\u4e5f\u662f\u4e0d\u53ef\u53d8\u7684\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5217\u8868<\/strong>\uff1a<\/p>\n<p><code>i = i * x<\/code> \u5728\u8fd9\u4e2a\u573a\u666f\u4e0b\u4f1a\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5217\u8868\u5bf9\u8c61\uff0c\u5305\u542b\u591a\u4e2a\u539f\u5217\u8868\u7684\u526f\u672c\u3002\u800c <code>i *= x<\/code> \u5219\u4f1a\u76f4\u63a5\u5728\u539f\u5217\u8868\u5bf9\u8c61\u4e0a\u6dfb\u52a0\u5143\u7d20\uff08\u9664\u975e x \u662f 1\uff0c\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5217\u8868\u5e76\u4e0d\u4f1a\u53d1\u751f\u4efb\u4f55\u6539\u53d8\uff09\uff0c\u56e0\u6b64\u4fdd\u6301\u539f\u6709\u5217\u8868\u5bf9\u8c61\u7684\u8eab\u4efd\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><h3>\u4e8c\u3001\u53ef\u53d8 VS \u4e0d\u53ef\u53d8\u6570\u636e\u7c7b\u578b<\/h3>\n<\/p>\n<p><p><strong>\u4e0d\u53ef\u53d8\u6570\u636e\u7c7b\u578b<\/strong>\uff0c\u4f8b\u5982\u6574\u6570\u3001\u6d6e\u70b9\u6570\u3001\u5b57\u7b26\u4e32\u548c\u5143\u7ec4\uff0c\u5728\u6267\u884c\u4efb\u4f55\u64cd\u4f5c\u65f6\uff0c\u90fd\u4f1a\u521b\u5efa\u65b0\u5bf9\u8c61\uff0c\u800c\u4e0d\u4f1a\u6539\u53d8\u539f\u59cb\u5bf9\u8c61\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u4e0d\u53ef\u53d8\u7c7b\u578b\u7684\u793a\u4f8b<\/strong>\uff1a<\/p>\n<p>\u5229\u7528 <code>+=<\/code> \u6216 <code>*=<\/code> \u64cd\u4f5c\u4e0d\u53ef\u53d8\u7c7b\u578b\u6570\u636e\uff0c\u5982 <code>tuple1 = (1, 2); tuple1 *= 2<\/code> \u4f1a\u5f97\u5230\u4e00\u4e2a\u65b0\u7684\u5143\u7ec4\uff0c\u5373\u4f7f\u7ed3\u679c <code>(1, 2, 1, 2)<\/code> \u770b\u8d77\u6765\u548c\u539f\u5730\u4fee\u6539\u6ca1\u6709\u533a\u522b\u3002<\/li>\n<\/p>\n<\/ul>\n<p><p><strong>\u53ef\u53d8\u6570\u636e\u7c7b\u578b<\/strong>\uff0c\u6bd4\u5982\u5217\u8868\u548c\u5b57\u5178\uff0c\u53ef\u4ee5\u8fdb\u884c\u539f\u5730\u4fee\u6539\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u53ef\u53d8\u7c7b\u578b\u7684In-Place\u884c\u4e3a<\/strong>\uff1a<\/p>\n<p>\u5bf9\u4e8e\u5217\u8868\u6765\u8bf4 <code>list1 = [1, 2]; list1 *= 2<\/code> \u4f1a\u5728\u539f\u5730\u66f4\u65b0 <code>list1<\/code>\uff0c\u73b0\u5728\u7684 <code>list1<\/code> \u53d8\u4e3a <code>[1, 2, 1, 2]<\/code>\uff0c\u4f46\u5bf9\u8c61\u7684\u8eab\u4efd\uff08\u5185\u5b58\u5730\u5740\uff09\u5e76\u672a\u6539\u53d8\u3002<\/li>\n<\/p>\n<\/ul>\n<p><h3>\u4e09\u3001Python\u64cd\u4f5c\u7b26\u91cd\u8f7d<\/h3>\n<\/p>\n<p><p><strong>\u64cd\u4f5c\u7b26\u91cd\u8f7d<\/strong>\u610f\u5473\u7740\u64cd\u4f5c\u7b26\u7684\u884c\u4e3a\u53ef\u4ee5\u6839\u636e\u64cd\u4f5c\u5bf9\u8c61\u7684\u7c7b\u578b\u6709\u6240\u4e0d\u540c\u3002Python\u4e2d\u7684\u7279\u6b8a\u65b9\u6cd5\uff0c\u5982<code>__mul__<\/code> \u53ef\u4ee5\u88ab\u7528\u6765\u91cd\u8f7d <code>*<\/code> \u64cd\u4f5c\u7b26\uff0c\u800c <code>__imul__<\/code> \u53ef\u4ee5\u88ab\u7528\u6765\u91cd\u8f7d <code>*=<\/code> \u64cd\u4f5c\u7b26\u3002\u8fd9\u4e9b\u65b9\u6cd5\u8fd4\u56de\u503c\u4f1a\u51b3\u5b9a\u64cd\u4f5c\u7684\u7ed3\u679c\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u64cd\u4f5c\u7b26\u91cd\u8f7d\u793a\u4f8b<\/strong>\uff1a<\/p>\n<p>\u5982\u679c\u5b9a\u4e49\u4e86\u4e00\u4e2a\u81ea\u5b9a\u4e49\u7684\u7c7b\u5e76\u91cd\u8f7d\u4e86 <code>__imul__<\/code> \u7279\u6b8a\u65b9\u6cd5\uff0c\u90a3\u4e48 <code>i *= x<\/code> \u53ef\u80fd\u4f1a\u6709\u4e0e <code>i = i * x<\/code> \u4e0d\u540c\u7684\u884c\u4e3a\u3002\u56e0\u4e3a <code>i *= x<\/code> \u4f1a\u8c03\u7528 <code>__imul__<\/code>\uff0c\u800c <code>i = i * x<\/code> \u4f1a\u8c03\u7528 <code>__mul__<\/code>\u3002<\/li>\n<\/p>\n<\/ul>\n<p><h3>\u56db\u3001\u5b9e\u8df5\u4e2d\u7684\u7ed3\u679c\u6bd4\u8f83<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u4e00\u4e9b\u4f8b\u5b50\u6765\u63ed\u793a <code>i = i * x<\/code> \u4e0e <code>i *= x<\/code> \u7ed3\u679c\u4e0d\u540c\u7684\u60c5\u51b5\uff1a<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u6574\u6570\u548c\u6d6e\u70b9\u6570\u5b9e\u4f8b<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code>i = 2<\/p>\n<p>i *= 2  # i \u7684\u503c\u73b0\u5728\u662f 4\uff0c\u4f46\u539f\u6765\u7684\u6574\u6570\u5bf9\u8c61 2 \u4e0d\u4f1a\u88ab\u4fee\u6539\u3002<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b57\u7b26\u4e32\u5b9e\u4f8b<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code>s = &#039;hello&#039;<\/p>\n<p>s *= 2  # \u521b\u5efa\u4e86\u4e00\u4e2a\u65b0\u7684\u5b57\u7b26\u4e32 &#039;hellohello&#039; \u5e76\u8d4b\u503c\u7ed9 s\uff0c\u800c\u539f\u59cb\u5b57\u7b26\u4e32 &#039;hello&#039; \u672a\u88ab\u4fee\u6539\u3002<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5217\u8868\u5b9e\u4f8b<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code>l = [1, 2, 3]<\/p>\n<p>l *= 2  # \u539f\u5730\u4fee\u6539 l\uff0c\u73b0\u5728 l \u662f [1, 2, 3, 1, 2, 3]\u3002<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5143\u7ec4\u5b9e\u4f8b<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code>t = (1, 2)<\/p>\n<p>t *= 2  # \u4ea7\u751f\u65b0\u7684\u5143\u7ec4 (1, 2, 1, 2) \u5e76\u8d4b\u503c\u7ed9 t\uff0c\u800c (1, 2) \u4ecd\u65e7\u4e0d\u53d8\u3002<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ul>\n<p><h3>\u7ed3\u8bba<\/h3>\n<\/p>\n<p><p>\u6240\u4ee5\uff0c\u5f53\u53d1\u73b0 <code>i = x<\/code> \u548c <code>i *= x<\/code> \u6709\u4e0d\u76f8\u7b49\u7684\u7ed3\u679c\u65f6\uff0c\u9700\u8981\u8003\u8651\u5230\u64cd\u4f5c\u7684\u6570\u636e\u7c7b\u578b\u3001\u662f\u5426\u53d1\u751f\u4e86\u5bf9\u8c61\u7684\u539f\u5730\u4fee\u6539\u4ee5\u53ca\u662f\u5426\u6709\u64cd\u4f5c\u7b26\u91cd\u8f7d\u7b49\u56e0\u7d20\u3002\u7406\u89e3\u8fd9\u4e9b\u5dee\u5f02\u5bf9\u7f16\u5199\u9ad8\u6548\u3001\u7b26\u5408\u9884\u671f\u7684Python\u4ee3\u7801\u662f\u81f3\u5173\u91cd\u8981\u7684\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>\u4e3a\u4ec0\u4e48\u5728Python\u4e2d\uff0ci=x\u548ci=i x\u4f1a\u6709\u4e0d\u76f8\u7b49\u7684\u60c5\u51b5\uff1f<\/strong><\/p>\n<ol>\n<li>\n<p><strong>Python\u4e2d\u7684\u8d4b\u503c\u64cd\u4f5c\u548c\u8fd0\u7b97\u7b26\u7684\u4e0d\u540c\u5bfc\u81f4\u4e0d\u76f8\u7b49\u3002<\/strong> \u5728\u7b2c\u4e00\u4e2a\u8868\u8fbe\u5f0fi=x\u4e2d\uff0c\u5c06x\u7684\u503c\u8d4b\u7ed9\u4e86\u53d8\u91cfi\uff0c\u5373i\u548cx\u6307\u5411\u4e86\u540c\u4e00\u4e2a\u5185\u5b58\u5730\u5740\u3002\u800c\u5728\u7b2c\u4e8c\u4e2a\u8868\u8fbe\u5f0fi=i x\u4e2d\uff0c\u8fd9\u662f\u4e00\u4e2a\u81ea\u6211\u8d4b\u503c\u64cd\u4f5c\uff0c\u5b9e\u9645\u4e0a\u76f8\u5f53\u4e8ei=i*i\uff0c\u5373\u5bf9i\u7684\u503c\u8fdb\u884c\u4e58\u6cd5\u8fd0\u7b97\u5e76\u91cd\u65b0\u8d4b\u503c\u7ed9i\u3002\u56e0\u6b64\uff0ci\u7684\u503c\u4f1a\u53d1\u751f\u53d8\u5316\uff0c\u4e0ex\u7684\u503c\u4e0d\u76f8\u7b49\u3002<\/p>\n<\/li>\n<li>\n<p><strong>Python\u4e2d\u5bf9\u8c61\u7684\u5f15\u7528\u673a\u5236\u5bfc\u81f4\u4e0d\u76f8\u7b49\u3002<\/strong> \u5728\u7b2c\u4e00\u4e2a\u8868\u8fbe\u5f0f\u4e2d\uff0ci\u548cx\u7684\u5f15\u7528\u6307\u5411\u4e86\u540c\u4e00\u4e2a\u5bf9\u8c61\uff0c\u56e0\u6b64\u5b83\u4eec\u662f\u76f8\u7b49\u7684\u3002\u800c\u5728\u7b2c\u4e8c\u4e2a\u8868\u8fbe\u5f0f\u4e2d\uff0ci\u548ci x\u7684\u5f15\u7528\u6307\u5411\u4e86\u4e0d\u540c\u7684\u5bf9\u8c61\uff0c\u56e0\u6b64\u5b83\u4eec\u662f\u4e0d\u76f8\u7b49\u7684\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u64cd\u4f5c\u6570\u7c7b\u578b\u7684\u4e0d\u540c\u5bfc\u81f4\u4e0d\u76f8\u7b49\u3002<\/strong> \u5728\u7b2c\u4e00\u4e2a\u8868\u8fbe\u5f0f\u4e2d\uff0ci\u548cx\u7684\u503c\u90fd\u662f\u6574\u6570\u7c7b\u578b\uff0c\u56e0\u6b64\u5b83\u4eec\u53ef\u4ee5\u8fdb\u884c\u76f8\u7b49\u6027\u6bd4\u8f83\u3002\u800c\u5728\u7b2c\u4e8c\u4e2a\u8868\u8fbe\u5f0f\u4e2d\uff0ci\u548ci x\u7684\u503c\u53ef\u80fd\u90fd\u662f\u5b57\u7b26\u4e32\u7c7b\u578b\u6216\u5176\u4ed6\u4e0d\u53ef\u6bd4\u8f83\u7c7b\u578b\uff0c\u56e0\u6b64\u5b83\u4eec\u7684\u76f8\u7b49\u6027\u6bd4\u8f83\u4f1a\u8fd4\u56deFalse\u3002<\/p>\n<\/li>\n<\/ol>\n<p>\u8bf7\u6ce8\u610f\uff0c\u8fd9\u4e9b\u89e3\u91ca\u4ec5\u9002\u7528\u4e8ePython\u8bed\u8a00\u4e2d\u7684\u60c5\u51b5\u3002\u5728\u5176\u4ed6\u7f16\u7a0b\u8bed\u8a00\u4e2d\uff0c\u8d4b\u503c\u64cd\u4f5c\u548c\u8fd0\u7b97\u7b26\u7684\u884c\u4e3a\u53ef\u80fd\u4f1a\u6709\u6240\u4e0d\u540c\uff0c\u5bfc\u81f4\u4e0d\u540c\u7684\u7ed3\u679c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python \u4e2d\u9047\u5230 i = x \u548c i *= x \u7ed3\u679c\u4e0d\u76f8\u7b49\u7684\u72b6\u51b5\uff0c\u901a\u5e38\u6d89\u53ca\u5230\u53d8\u91cf\u8d4b\u503c\u4e0e in-place [&hellip;]","protected":false},"author":3,"featured_media":180038,"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\/180025"}],"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=180025"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/180025\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/180038"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=180025"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=180025"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=180025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}