We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23c488d commit bbe12a7Copy full SHA for bbe12a7
1 file changed
Doc/library/stdtypes.rst
@@ -2289,6 +2289,20 @@ expression support in the :mod:`re` module).
2289
Return ``True`` if all cased characters [4]_ in the string are lowercase and
2290
there is at least one cased character, ``False`` otherwise.
2291
2292
+ For example::
2293
+
2294
+ >>> 'BANANA'.islower()
2295
+ False
2296
+ >>> 'banana'.islower()
2297
+ True
2298
+ >>> 'baNana'.islower()
2299
2300
+ >>> ' '.islower()
2301
2302
+ >>> ''.islower()
2303
2304
2305
+ See also :meth:`isupper`.
2306
2307
.. method:: str.isnumeric()
2308
@@ -2385,8 +2399,10 @@ expression support in the :mod:`re` module).
2385
2399
False
2386
2400
>>> ' '.isupper()
2387
2401
2402
+ >>> ''.isupper()
2403
2388
2404
2389
-
2405
+ See also :meth:`islower`.
2390
2406
2391
2407
.. _meth-str-join:
2392
2408
0 commit comments