From 2cb909e31ef690f83ffefb7afd688f0daa994bdb Mon Sep 17 00:00:00 2001 From: Benjamin Bertrand Date: Tue, 12 Jan 2016 11:29:14 +0300 Subject: [PATCH] remove "exemple" in docstring --- pymath/stat/random_generator.py | 1 - pymath/stat/weightedDataset.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/pymath/stat/random_generator.py b/pymath/stat/random_generator.py index 62e63eb..619dcef 100644 --- a/pymath/stat/random_generator.py +++ b/pymath/stat/random_generator.py @@ -19,7 +19,6 @@ def random_generator(length,\ :param v_max: maximum accepted value :param exact_mean: if set, the last generated number will be create in order that the computed mean is exacly equal to "exact_mean" - : Exemple: >>> random_generator(10) >>> random_generator(10, distrib = uniform, rd_args = (5, 10)) >>> random_generator(10, distrib = "uniform", rd_args = (5, 10)) diff --git a/pymath/stat/weightedDataset.py b/pymath/stat/weightedDataset.py index 63e4cff..3ed3c73 100644 --- a/pymath/stat/weightedDataset.py +++ b/pymath/stat/weightedDataset.py @@ -95,8 +95,6 @@ class WeightedDataset(dict): :return: un tuple avec (min, Q1, Me, Q3, Max) - : Exemple: - >>> w = WeightedDataset(flatten_list([i*[i] for i in range(5)])) >>> w.quartiles() (1, 2, 3, 4, 4)