mirror of
https://github.com/boostorg/python.git
synced 2026-01-25 18:32:24 +00:00
Oops, previous check-in was into the wrong branch.
Rolling everything back. [SVN r8312]
This commit is contained in:
@@ -35,8 +35,6 @@ def _gen_arg(template, n, args, delimiter = '%'):
|
||||
|
||||
if key == 'n':
|
||||
result = result + `n`
|
||||
elif key == 'N':
|
||||
result = result + `n-1`
|
||||
else:
|
||||
result = result + _gen_common_key(key, n, args)
|
||||
|
||||
@@ -57,13 +55,8 @@ def gen_function(template, n, *args, **keywords):
|
||||
%n is transformed into the string representation of 1..n for each repetition
|
||||
of n.
|
||||
|
||||
%N is transformed into the string representation of 0..(n-1) for each repetition
|
||||
of n.
|
||||
|
||||
%i, where i is a digit, is transformed into the corresponding additional
|
||||
%x, where x is a digit, is transformed into the corresponding additional
|
||||
argument.
|
||||
|
||||
%x is transformed into the number of the current repetition
|
||||
|
||||
for example,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user