We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
GitHub fields:
assignee = 'https://github.com/ezio-melotti' closed_at = <Date 2012-08-23.08:30:37.502> created_at = <Date 2012-08-23.08:27:22.430> labels = ['type-bug', 'invalid'] title = 'Tunple Bug?' updated_at = <Date 2012-08-23.08:33:11.879> user = 'https://bugs.python.org/zhuojun'
bugs.python.org fields:
activity = <Date 2012-08-23.08:33:11.879> actor = 'ezio.melotti' assignee = 'ezio.melotti' closed = True closed_date = <Date 2012-08-23.08:30:37.502> closer = 'ezio.melotti' components = ['None'] creation = <Date 2012-08-23.08:27:22.430> creator = 'zhuojun' dependencies = [] files = [] hgrepos = [] issue_num = 15771 keywords = [] message_count = 3.0 messages = ['168929', '168930', '168931'] nosy_count = 2.0 nosy_names = ['ezio.melotti', 'zhuojun'] pr_nums = [] priority = 'normal' resolution = 'not a bug' stage = 'resolved' status = 'closed' superseder = None type = 'behavior' url = 'https://bugs.python.org/issue15771' versions = ['Python 3.2']
The text was updated successfully, but these errors were encountered:
>>> def f(*agrs): print(agrs) >>> f(1,2) (1, 2) >>> f(1) #Is the output wrong? It should be without ','. (1,)
Sorry, something went wrong.
Tuples with one element are defined as (x,), since the comma is what really makes the tuple.
See the second code block here: http://docs.python.org/py3k/tutorial/datastructures.html#tuples-and-sequences
ezio-melotti
No branches or pull requests
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: