python字符串驻留
摘要:
In [1]: a = 'something' ...: b = 'some'+'thing' ...: id(a)==id(b) Out[1]: True 如果上面例子返回True,但是下面例子为什么是False: In [1]: a = '@zglg.com' In [2]: b = '@zgl 阅读全文
posted @ 2020-04-01 20:01 不要挡着我晒太阳 阅读(185) 评论(0) 推荐(0)
posted @ 2020-04-01 20:01 不要挡着我晒太阳 阅读(185) 评论(0) 推荐(0)
posted @ 2020-04-01 20:00 不要挡着我晒太阳 阅读(845) 评论(0) 推荐(0)
posted @ 2020-04-01 16:48 不要挡着我晒太阳 阅读(178) 评论(0) 推荐(0)
posted @ 2020-04-01 15:44 不要挡着我晒太阳 阅读(180) 评论(0) 推荐(0)
posted @ 2020-04-01 14:19 不要挡着我晒太阳 阅读(933) 评论(1) 推荐(0)