summarylogtreecommitdiffstats
path: root/fix-utf8.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix-utf8.patch')
-rw-r--r--fix-utf8.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/fix-utf8.patch b/fix-utf8.patch
new file mode 100644
index 000000000000..0b9f82a03aa5
--- /dev/null
+++ b/fix-utf8.patch
@@ -0,0 +1,29 @@
+From 4a8a35f2c27be9f209cfc6f347e7a57a4a62e693 Mon Sep 17 00:00:00 2001
+From: Eric Larson <larson.eric.d@gmail.com>
+Date: Wed, 19 Dec 2018 10:50:47 -0500
+Subject: [PATCH] FIX: Fix encoding lines
+
+---
+ scipy/stats/_continuous_distns.py | 1 +
+ scipy/stats/_stats_mstats_common.py | 3 +++
+ 2 files changed, 4 insertions(+)
+
+diff --git a/scipy/stats/_continuous_distns.py b/scipy/stats/_continuous_distns.py
+index 44c05bb7d67..b48d7e7af32 100644
+--- a/scipy/stats/_continuous_distns.py
++++ b/scipy/stats/_continuous_distns.py
+@@ -1,3 +1,4 @@
++# -*- encoding: utf-8 -*-
+ #
+ # Author: Travis Oliphant 2002-2011 with contributions from
+ # SciPy Developers 2004-2011
+diff --git a/scipy/stats/_stats_mstats_common.py b/scipy/stats/_stats_mstats_common.py
+index e86c8287b48..be478da1f2a 100644
+--- a/scipy/stats/_stats_mstats_common.py
++++ b/scipy/stats/_stats_mstats_common.py
+@@ -1,3 +1,5 @@
++# -*- encoding: utf-8 -*-
++
+ from collections import namedtuple
+
+ import numpy as np