Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed a small bug in capitalizing boolean getter with long camel case…

… names
  • Loading branch information...
commit ca7d84be5244351f9ce162ab3f14101f0eb071df 1 parent 696efcd
Dirk Holtwick authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  xobjc.py
2  xobjc.py
@@ -396,7 +396,7 @@ def analyze(hdata, mdata):
396 396 else:
397 397 mode = mode[1:]
398 398 if BOOL_WITH_IS_GETTER and type_ == "BOOL":
399   - mode = "getter=is%s" % pvname.capitalize()
  399 + mode = "getter=is%s%s" % (pvname[0].capitalize(), pvname[1:])
400 400 propBlock.append("@property (%s%s%s) %s %s%s;" % (propMarker, NONATOMIC, mode, type_, star, pvname))
401 401
402 402 # print mode

0 comments on commit ca7d84b

Please sign in to comment.
Something went wrong with that request. Please try again.