Multimode function in the statistics class

I wonder if there is a logical explanation why when i tried to use the “multimode” function of statistics class, it was rejected with a
“module ‘statistics’ has no attribute ‘multimode’” error.
I used “print(”\nMethods in Statistics Class", dir(statistics), “\n”)" to print the methods within statistics and sure enough, mutimode is not there.
Methods in Statistics Class [‘Decimal’, ‘Fraction’, ‘StatisticsError’, ‘all’, ‘builtins’, ‘cached’, ‘doc’, ‘file’, ‘loader’, ‘name’, ‘package’, ‘spec’, ‘_coerce’, ‘_convert’, ‘_counts’, ‘_exact_ratio’, ‘_fail_neg’, ‘_find_lteq’, ‘_find_rteq’, ‘_isfinite’, ‘_ss’, ‘_sum’, ‘bisect_left’, ‘bisect_right’, ‘collections’, ‘groupby’, ‘harmonic_mean’, ‘math’, ‘mean’, ‘median’, ‘median_grouped’, ‘median_high’, ‘median_low’, ‘mode’, ‘numbers’, ‘pstdev’, ‘pvariance’, ‘stdev’, ‘variance’]

Yet, there numerous online demos using it.
I run Spyder 5.0.3

Your version of Python is too old.

You need version 3.8 or higher.

https://docs.python.org/3/library/statistics.html#statistics.multimode

You can test the version of your Python this way:

import sys
print(sys.version)

You are correct. I’ve got:
3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)]
I thought that by having the latest Spyder, I would have the latest Python as well