From cf5b1dd94e04ab1e9229e24e604b624719a499e8 Mon Sep 17 00:00:00 2001 From: Nick Coghlan Date: Tue, 19 May 2015 23:30:08 +1000 Subject: [PATCH] PEP 493: default to platform default in examples --- pep-0493.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pep-0493.txt b/pep-0493.txt index 537811be2..2005bf16b 100644 --- a/pep-0493.txt +++ b/pep-0493.txt @@ -232,7 +232,7 @@ Example implementation try: verify_mode = config.get('https', 'verify') except (ConfigParser.NoSectionError, ConfigParser.NoOptionError): - verify_mode = 'enable' + verify_mode = 'platform_default' default_factory = context_factories.get('platform_default') return context_factories.get(verify_mode, default_factory) @@ -310,7 +310,7 @@ Example implementation try: verify_mode = config.get('https', 'verify') except (ConfigParser.NoSectionError, ConfigParser.NoOptionError): - verify_mode = 'enable' + verify_mode = 'platform_default' default_factory = context_factories.get('platform_default') return context_factories.get(verify_mode, default_factory)