~ubuntu-branches/ubuntu/lucid/python2.6/lucid

« back to all changes in this revision

Viewing changes to Objects/tupleobject.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-03-11 13:30:19 UTC
  • mto: (10.1.13 sid)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: james.westby@ubuntu.com-20100311133019-sblbooa3uqrkoe70
Tags: upstream-2.6.5~rc2
ImportĀ upstreamĀ versionĀ 2.6.5~rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
630
630
}
631
631
 
632
632
PyDoc_STRVAR(tuple_doc,
633
 
"tuple() -> an empty tuple\n"
634
 
"tuple(sequence) -> tuple initialized from sequence's items\n"
635
 
"\n"
636
 
"If the argument is a tuple, the return value is the same object.");
 
633
"tuple() -> empty tuple\n\
 
634
tuple(iterable) -> tuple initialized from iterable's items\n\
 
635
\n\
 
636
If the argument is a tuple, the return value is the same object.");
637
637
 
638
638
static PySequenceMethods tuple_as_sequence = {
639
639
        (lenfunc)tuplelength,                   /* sq_length */