~pythonregexp2.7/python/issue2636-01

« back to all changes in this revision

Viewing changes to Doc/library/stdtypes.rst

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-06-09 14:37:21 UTC
  • mfrom: (39022.1.14 Regexp-2.6)
  • Revision ID: darklord@timehorse.com-20080609143721-bj0g1mwta28038da
Merged in changes from the core Regexp branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1567
1567
      Test whether the set is a true superset of *other*, that is, ``set >=
1568
1568
      other and set != other``.
1569
1569
 
1570
 
   .. method:: union(other)
1571
 
               set | other
 
1570
   .. method:: union(other, ...)
 
1571
               set | other | ...
1572
1572
 
1573
1573
      Return a new set with elements from both sets.
1574
1574
 
 
1575
      .. versionchanged:: 2.6
 
1576
         Accepts multiple input iterables.
 
1577
 
1575
1578
   .. method:: intersection(other)
1576
1579
               set & other
1577
1580
 
1628
1631
   The following table lists operations available for :class:`set` that do not
1629
1632
   apply to immutable instances of :class:`frozenset`:
1630
1633
 
1631
 
   .. method:: update(other)
1632
 
               set |= other
 
1634
   .. method:: update(other, ...)
 
1635
               set |= other | ...
1633
1636
 
1634
1637
      Update the set, adding elements from *other*.
1635
1638
 
 
1639
      .. versionchanged:: 2.6
 
1640
         Accepts multiple input iterables.
 
1641
 
1636
1642
   .. method:: intersection_update(other)
1637
1643
               set &= other
1638
1644
 
2165
2171
   .. versionadded:: 2.3
2166
2172
 
2167
2173
 
 
2174
.. attribute:: file.errors
 
2175
 
 
2176
   The Unicode error handler used to along with the encoding.
 
2177
 
 
2178
   .. versionadded:: 2.6
 
2179
 
 
2180
 
2168
2181
.. attribute:: file.mode
2169
2182
 
2170
2183
   The I/O mode for the file.  If the file was created using the :func:`open`