Changes between Initial Version and Version 1 of Ticket #13058, comment 2


Ignore:
Timestamp:
05/30/12 00:10:58 (7 years ago)
Author:
kini
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13058, comment 2

    initial v1  
    88}}}
    99
    10 This is actually more efficient than writing `"a" + "b"`, because it is parsed directly as "ab", whereas with `"a" + "b"`, Python first creates two string objects `"a"` and `"b"`, and then concatenates them together into a new string object `"ab"``, which essentially causes two useless objects to be created.
     10This is actually more efficient than writing `"a" + "b"`, because it is parsed directly as `"ab"`, whereas with `"a" + "b"`, Python first creates two string objects `"a"` and `"b"`, and then concatenates them together into a new string object `"ab"`, which essentially causes two useless objects to be created.
    1111
    1212I decreased the indentation of some lines in the doctest by two spaces because later, once David Roe's work at #12415 fixes #10458, the `...` can be replaced with `....:` (two characters more) without making the indent excessively wide.