Skip to content

Commit 944ec21

Browse files
committed
Fix PVSystem module_type docstring default
1 parent cdf3a7b commit 944ec21

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

docs/sphinx/source/whatsnew/v0.15.1.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ Documentation
3838
* Add AI checkbox to PR template, and auto-generate a comment on PRs
3939
from first-time contributors regarding AI and contributing guidelines.
4040
(:issue:`2617`, :pull:`2624`)
41+
* Fix :py:class:`pvlib.pvsystem.PVSystem` docstring incorrectly stating
42+
``module_type`` defaults to ``'glass_polymer'`` instead of ``None``.
43+
(:issue:`2634`)
4144
* Fix a broken docstring reference to ``grounddiffuse`` in
4245
:py:func:`pvlib.irradiance.poa_components`
4346
(:issue:`2089`, :pull:`2708`)

pvlib/pvsystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ class PVSystem:
140140
module : string, optional
141141
The model name of the modules.
142142
143-
module_type : string, default 'glass_polymer'
143+
module_type : string, default None
144144
Describes the module's construction. Valid strings are 'glass_polymer'
145145
and 'glass_glass'. Used for cell and module temperature calculations.
146146

0 commit comments

Comments
 (0)