Skip to content

Commit

Permalink
Merge pull request #2952 from freakboy3742/not-new
Browse files Browse the repository at this point in the history
Remove Java idiom from example code.
  • Loading branch information
mhsmith authored Nov 13, 2024
2 parents 2697441 + 20e1665 commit f013ccb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/2951.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Some Java idiom was removed from a Python example.
2 changes: 1 addition & 1 deletion docs/reference/platforms/android.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ completes. For example, to dial a phone number with the ``Intent.ACTION_DIAL`` i
from android.content import Intent
from android.net import Uri

intent = new Intent(Intent.ACTION_DIAL)
intent = Intent(Intent.ACTION_DIAL)
intent.setData(Uri.parse("tel:0123456789"))

def number_dialed(result, data):
Expand Down

0 comments on commit f013ccb

Please sign in to comment.