[issue3047] string object's lstrip function

2008-06-06 Thread Jura
New submission from Jura <[EMAIL PROTECTED]>: example from command line: '_element_no_of_hsscch'.lstrip('_element_') 'o_of_hsscch' '_element_o_of_hsscch'.lstrip('_element_') 'o_of_hsscch' -- components: Interpreter Core

[issue3047] string object's lstrip function

2008-06-06 Thread Jura
Jura <[EMAIL PROTECTED]> added the comment: print '_element_no_of_hsscch'.lstrip.__doc__ S.lstrip([chars]) -> string or unicode Return a copy of the string S with leading whitespace removed. If chars is given and not None, remove characters in chars instead. If chars is

[issue4857] syntax: no unpacking in augassign

2009-01-06 Thread jura
New submission from jura : the following code produces syntax error: >>> (x, y) += 1 While this is documented in http://docs.python.org/3.0/reference/simple_stmts.html#augmented-assignment-statements ("An augmented assignment evaluates the target (which, unlike normal аssignm

[issue4857] syntax: no unpacking in augassign

2009-01-06 Thread jura
jura added the comment: Yes, but target ::= identifier | "(" target_list ")" | ... so (x,y) seems to be a valid target. ___ Python tracker <http://bu