Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/python-pendulum/pendulum
/ locale
Function
locale
src/pendulum/helpers.py:181–182 ·
view source on GitHub ↗
(name: str)
Source
from the content-addressed store, hash-verified
179
180
181
def
locale(name: str) -> Locale:
182
return
Locale.load(name)
183
184
185
def
set_locale(name: str) -> None:
Callers
1
set_locale
Function · 0.85
Calls
1
load
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…