From a33e9f704735d356a0fac2a77ba44dd9b0a05c63 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 12 Sep 2016 23:38:50 -0700 Subject: Issue #28104: More accurately document set method signatures --- Doc/library/stdtypes.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 2996eef..dac992a 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -3866,17 +3866,17 @@ The constructors for both classes work the same: Test whether the set is a proper superset of *other*, that is, ``set >= other and set != other``. - .. method:: union(other, ...) + .. method:: union(*others) set | other | ... Return a new set with elements from the set and all others. - .. method:: intersection(other, ...) + .. method:: intersection(*others) set & other & ... Return a new set with elements common to the set and all others. - .. method:: difference(other, ...) + .. method:: difference(*others) set - other - ... Return a new set with elements in the set that are not in the others. @@ -3926,17 +3926,17 @@ The constructors for both classes work the same: The following table lists operations available for :class:`set` that do not apply to immutable instances of :class:`frozenset`: - .. method:: update(other, ...) + .. method:: update(*others) set |= other | ... Update the set, adding elements from all others. - .. method:: intersection_update(other, ...) + .. method:: intersection_update(*others) set &= other & ... Update the set, keeping only elements found in it and all others. - .. method:: difference_update(other, ...) + .. method:: difference_update(*others) set -= other | ... Update the set, removing elements found in others. -- cgit v0.12 From 134192630a28d6ae6c2a256f95a44a2dd3c65388 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Tue, 13 Sep 2016 12:21:47 +0000 Subject: Issue #15819: Remove old unconditional -IInclude option A newer instance of this option, enabled in the configure script when building outside the source tree, made this redundant. --- Makefile.pre.in | 2 +- Misc/NEWS | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index 58144f3..90130a2 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -90,7 +90,7 @@ PY_CFLAGS_NODIST=$(CONFIGURE_CFLAGS_NODIST) $(CFLAGS_NODIST) # Both CPPFLAGS and LDFLAGS need to contain the shell's value for setup.py to # be able to build extension modules using the directories specified in the # environment variables -PY_CPPFLAGS= $(BASECPPFLAGS) -I. -IInclude -I$(srcdir)/Include $(CONFIGURE_CPPFLAGS) $(CPPFLAGS) +PY_CPPFLAGS= $(BASECPPFLAGS) -I. -I$(srcdir)/Include $(CONFIGURE_CPPFLAGS) $(CPPFLAGS) PY_LDFLAGS= $(CONFIGURE_LDFLAGS) $(LDFLAGS) NO_AS_NEEDED= @NO_AS_NEEDED@ LDLAST= @LDLAST@ diff --git a/Misc/NEWS b/Misc/NEWS index 1dc5ad8..246ac72 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -328,6 +328,9 @@ Build - Issue #28066: Fix the logic that searches build directories for generated include files when building outside the source tree. +- Issue #15819: Remove redundant include search directory option for building + outside the source tree. + - Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach) - Issue #27705: Update message in validate_ucrtbase.py -- cgit v0.12